[POWERPC] Move to runtime allocated exception stacks
authorKumar Gala <galak@kernel.crashing.org>
Wed, 30 Apr 2008 08:49:55 +0000 (03:49 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 2 Jun 2008 19:54:42 +0000 (14:54 -0500)
commitbcf0b0880710409420a4e3b15dbf4b9a63542c0b
treeca1c813648ea075b772112237fde3ccfe3ddb776
parentc054065bc10a7ee2bcf78b5bc95f4b4d9bdc923a
[POWERPC] Move to runtime allocated exception stacks

For the additonal exception levels (critical, debug, machine check) on
40x/book-e we were using "static" allocations of the stack in the
associated head.S.

Move to a runtime allocation to make the code a bit easier to read as
we mimic how we handle IRQ stacks.  Its also a bit easier to setup the
stack with a "dummy" thread_info in C code.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_40x.S
arch/powerpc/kernel/head_44x.S
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/setup_32.c
include/asm-powerpc/irq.h