OSDN Git Service

powerpc: Get merged kernel to compile and run on 32-bit SMP powermac.
authorPaul Mackerras <paulus@samba.org>
Sat, 1 Oct 2005 03:49:08 +0000 (13:49 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 1 Oct 2005 03:49:08 +0000 (13:49 +1000)
commitc0c0d996d08e450164adedc249c1bbbca63524ce
tree15f297796a93568fd45756c72ca07e77756c8653
parentab11d1ea281e85895369ef57c5259ad8a432fabb
powerpc: Get merged kernel to compile and run on 32-bit SMP powermac.

This updates the powermac SMP code to use the mpic driver instead of
the openpic driver and fixes the SMP-dependent context switch code.
We had a subtle bug where we were using interrupt numbers 256-259 for
IPIs, but ppc32 had NR_IRQS = 256.  Moved the IPIs down to use interrupt
numbers 252-255 instead.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kernel/process.c
arch/powerpc/platforms/powermac/pmac_pic.c
arch/powerpc/platforms/powermac/pmac_smp.c
arch/powerpc/sysdev/mpic.c