diff options
author | Ishizaki Kou <kou.ishizaki@toshiba.co.jp> | 2007-02-14 06:55:14 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-02-16 03:00:20 (GMT) |
commit | 2333eae215442768478d7661d372ff017e3f0151 (patch) | |
tree | 54112c5f9b5f327e04b9167b31edf5de7e82d221 /arch/powerpc/platforms/celleb | |
parent | 0f9ec0a828565c4d2dcb01ce6af824c001396357 (diff) | |
download | linux-fsl-qoriq-2333eae215442768478d7661d372ff017e3f0151.tar.xz |
[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/platforms/celleb')
-rw-r--r-- | arch/powerpc/platforms/celleb/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/celleb/setup.c b/arch/powerpc/platforms/celleb/setup.c index 1de63ac..5f4d0d9 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", }, |