summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorIshizaki Kou2007-02-14 07:55:14 +0100
committerPaul Mackerras2007-02-16 04:00:20 +0100
commit2333eae215442768478d7661d372ff017e3f0151 (patch)
tree54112c5f9b5f327e04b9167b31edf5de7e82d221 /arch/powerpc
parent[POWERPC] Fix compile failure in cpm_uart_cpm2 (diff)
downloadkernel-qcow2-linux-2333eae215442768478d7661d372ff017e3f0151.tar.gz
kernel-qcow2-linux-2333eae215442768478d7661d372ff017e3f0151.tar.xz
kernel-qcow2-linux-2333eae215442768478d7661d372ff017e3f0151.zip
[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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/celleb/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/celleb/setup.c b/arch/powerpc/platforms/celleb/setup.c
index 1de63acfda87..5f4d0d933238 100644
--- a/arch/powerpc/platforms/celleb/setup.c
+++ b/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", },