[POWERPC] celleb: fix CONFIG_KEXEC dependency
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>
Wed, 14 Feb 2007 06:55:14 +0000 (15:55 +0900)
committerPaul Mackerras <paulus@samba.org>
Fri, 16 Feb 2007 03:00:20 +0000 (14:00 +1100)
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>
arch/powerpc/platforms/celleb/setup.c

index 1de63acfda873ab8b893f88421eed7c4fa8135db..5f4d0d9332388e1e9455f5a0a7a6c1c49294a7d4 100644 (file)
@@ -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", },