[POWERPC] Don't enable cpu hotplug on pSeries machines with MPIC
authorOlof Johansson <olof@lixom.net>
Wed, 10 Oct 2007 00:38:24 +0000 (10:38 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 11 Oct 2007 11:06:06 +0000 (21:06 +1000)
commit64f2758514e3bad19cab03d22851ab37654399a4
tree7d765fb33cf7aeed8bbf17d5cbb07bd78dc1a33d
parent84dd4676f5519b86aee3bfaf1b230be2cb43f69b
[POWERPC] Don't enable cpu hotplug on pSeries machines with MPIC

Don't allow cpu hotplug on systems lacking XICS interrupt controller
(i.e. with an MPIC interrupt controller), since the current pSeries
platform code is hardcoded for XICS.

This works around the bug reported by Paul Mackerras where the
disable_nonboot_cpus() call recently added to the shutdown path will
cause an oops on older pSeries machines.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/hotplug-cpu.c