On Wed, 2005-08-03 at 12:48 +0200, Ingo Molnar wrote:
>
> i dont think there's any. user_mode(regs) gets the closest - it might
> make sense to generalize it over all arches.
>
> update_process_times() gets an arch-independent 'was the tick user-space
> or kernel-space' flag, so the best starti
* Steven Rostedt <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm dealing with a problem where I want to know from __do_IRQ in
> kernel/irq/handle.c if the interrupt occurred while the process was in
> user space or kernel space. But the trick here is that it must work
> on all architectures.
>
Hi all,
I'm dealing with a problem where I want to know from __do_IRQ in
kernel/irq/handle.c if the interrupt occurred while the process was in
user space or kernel space. But the trick here is that it must work on
all architectures.
Does anyone know of some way that that function can tell if it
3 matches
Mail list logo