Browse Source

[POWERPC] celleb: fix CONFIG_KEXEC dependency

celleb_kexec_cpu_down() depends on CONFIG_KEXEC.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Ishizaki Kou 18 years ago
parent
commit
2333eae215
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/powerpc/platforms/celleb/setup.c

+ 2 - 0
arch/powerpc/platforms/celleb/setup.c

@@ -137,10 +137,12 @@ static int celleb_check_legacy_ioport(unsigned int baseport)
 	return -ENODEV;
 }
 
+#ifdef CONFIG_KEXEC
 static void celleb_kexec_cpu_down(int crash, int secondary)
 {
 	beatic_deinit_IRQ();
 }
+#endif
 
 static struct of_device_id celleb_bus_ids[] = {
 	{ .type = "scc", },