Michael Ellerman 3243d87441 [POWERPC] Make emergency stack safe for current_thread_info() use
The current_thread_info() macro, used by preempt_count(), assumes the
base address and size of the stack are THREAD_SIZE aligned.

The emergency stack currently isn't either of these things, which
could potentially cause problems anytime we're running on the
emergency stack.  That includes when we detect a bad kernel stack
pointer, and also during early_setup_secondary().

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-30 19:49:48 +10:00
..
2008-03-07 08:42:28 -06:00
2008-04-29 15:57:34 +10:00
2008-04-24 20:58:03 +10:00
2008-04-14 21:11:02 +10:00
2008-01-28 23:21:18 +01:00
2008-02-06 10:41:00 -08:00