[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)
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>

No differences found