[PATCH] celleb: fix CONFIG_KEXEC dependency

Ishizaki Kou kou.ishizaki at toshiba.co.jp
Wed Feb 14 17:55:14 EST 2007


celleb_kexec_cpu_down() depends on CONFIG_KEXEC.

Signed-off-by: Kou Ishizaki <kou.ishizaki at toshiba.co.jp>
---

Index: linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c
diff -u linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c:1.1.1.1 linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c:1.23
--- linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c:1.1.1.1	Thu Feb  8 11:38:20 2007
+++ linux-powerpc-git/arch/powerpc/platforms/celleb/setup.c	Fri Feb  9 18:31:50 2007
@@ -137,10 +137,12 @@
 	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", },



More information about the Linuxppc-dev mailing list