powerpc/4xx: Index interrupt stacks by physical cpu
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>
Wed, 18 Aug 2010 06:44:25 +0000 (06:44 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 23 Aug 2010 11:37:53 +0000 (07:37 -0400)
commit3e7f45ad521ac3e38889d255ec7676037fa84ae2
tree4f7f0461d2486bf2e48b633ea060be6660fb11b2
parent66477466b8b79c98af17f1c2267596c8b6b4b561
powerpc/4xx: Index interrupt stacks by physical cpu

The interrupt stacks need to be indexed by the physical cpu since the
critical, debug and machine check handlers use the contents of SPRN_PIR to
index the critirq_ctx, dbgirq_ctx, and mcheckirq_ctx arrays.

Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/setup_32.c