summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-02-14 15:55:14 +0900
committerPaul Mackerras <paulus@samba.org>2007-02-16 14:00:20 +1100
commit2333eae215442768478d7661d372ff017e3f0151 (patch)
tree54112c5f9b5f327e04b9167b31edf5de7e82d221 /arch
parent0f9ec0a828565c4d2dcb01ce6af824c001396357 (diff)
downloadlinux-2333eae215442768478d7661d372ff017e3f0151.tar.gz
linux-2333eae215442768478d7661d372ff017e3f0151.tar.bz2
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')
-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", },