lkml.org 
[lkml]   [2005]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subject[Question] arch-independent way to differentiate between user and kernel
    From
    Date
    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 had
    interrupted the kernel or user space? I know of serveral arch-dependent
    ways, but that's not acceptable right now.

    Thanks,

    -- Steve


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-08-03 12:45    [W:0.030 / U:0.300 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site