]> err.no Git - linux-2.6/commit
[POWERPC] Clean up access to thread_info in assembly
authorKumar Gala <galak@kernel.crashing.org>
Wed, 23 Apr 2008 20:29:36 +0000 (06:29 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 24 Apr 2008 10:58:02 +0000 (20:58 +1000)
commitf608600e74404c5c8f017af45294074282911ae9
tree9d62c005e06960a661ff77f540ca76625fabe827
parent885aa35c9669ce7919d203036a87a7e1a4ebd25f
[POWERPC] Clean up access to thread_info in assembly

Use (31-THREAD_SHIFT) to get to thread_info from stack pointer.  This makes
the code a bit easier to read and more robust if we ever change THREAD_SHIFT.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/misc_32.S
arch/powerpc/mm/hash_low_32.S