[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 1de63ac..5f4d0d9 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", },