powerpc: Fix default_machine_crash_shutdown #ifdef botch
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 Jun 2010 14:48:39 +0000 (14:48 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Jul 2010 08:11:45 +0000 (18:11 +1000)
commitc2be05481f6125254c45b78f334d4dd09c701c82
treed5dc16f4d373bc88384b5716a9f72d0725e289ae
parent3cd8519248e9e17d982c6fab0f1a89bca6feb49a
powerpc: Fix default_machine_crash_shutdown #ifdef botch

crash_kexec_wait_realmode() is defined only if CONFIG_PPC_STD_MMU_64
and CONFIG_SMP, but is called if CONFIG_PPC_STD_MMU_64 even if !CONFIG_SMP.
Fix the conditional compilation around the invocation.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/crash.c