]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe55027097f6b463b1892f3dc1a6662828c72022
tree15f297796a93568fd45756c72ca07e77756c8653
parent6bf34e347f18462d9fd926c3d322b0c41d6a52ab
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