Re: Calling current() from interrupt context

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Oct 09 2000 - 17:30:50 EST


> I think I'll go for the 'current is in a well-known register'
> approach and see how this goes...

Failing that the 2.0 approach will work, current is a global in uniprocessor
and a #define to an array indexed by cpu id in smp

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:13 EST