Re: Calling current() from interrupt context

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Mon Oct 09 2000 - 06:17:26 EST


On Sun, Oct 08, 2000 at 09:27:09PM +0100, Kenn Humborg wrote:

> I'm working on the VAX port and the reason I ask is that the
> VAX has separate stack pointers for user, kernel and interrupt
> contexts. Therefore, the current = (SP & ~8192) hack will give
> completely bogus results when handling an interrupt.

I think you mean current = (sp & ~8191) ...

  Ralf
-
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