Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/book3e/kdump: Enable crash_kexec_wait_realmode

While book3e doesn't have "real mode", we still want to wait for
all the non-crash cpus to complete their shutdown.

Signed-off-by: Scott Wood <scottwood@freescale.com>

+3 -3
+3 -3
arch/powerpc/kernel/crash.c
··· 221 221 #endif /* CONFIG_SMP */ 222 222 223 223 /* wait for all the CPUs to hit real mode but timeout if they don't come in */ 224 - #if defined(CONFIG_SMP) && defined(CONFIG_PPC_STD_MMU_64) 225 - static void crash_kexec_wait_realmode(int cpu) 224 + #if defined(CONFIG_SMP) && defined(CONFIG_PPC64) 225 + static void __maybe_unused crash_kexec_wait_realmode(int cpu) 226 226 { 227 227 unsigned int msecs; 228 228 int i; ··· 244 244 } 245 245 #else 246 246 static inline void crash_kexec_wait_realmode(int cpu) {} 247 - #endif /* CONFIG_SMP && CONFIG_PPC_STD_MMU_64 */ 247 + #endif /* CONFIG_SMP && CONFIG_PPC64 */ 248 248 249 249 /* 250 250 * Register a function to be called on shutdown. Only use this if you