Commit 2333eae2 authored by Ishizaki Kou's avatar Ishizaki Kou Committed by Paul Mackerras

[POWERPC] celleb: fix CONFIG_KEXEC dependency

celleb_kexec_cpu_down() depends on CONFIG_KEXEC.
Signed-off-by: default avatarKou Ishizaki <kou.ishizaki@toshiba.co.jp>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 0f9ec0a8
...@@ -137,10 +137,12 @@ static int celleb_check_legacy_ioport(unsigned int baseport) ...@@ -137,10 +137,12 @@ static int celleb_check_legacy_ioport(unsigned int baseport)
return -ENODEV; return -ENODEV;
} }
#ifdef CONFIG_KEXEC
static void celleb_kexec_cpu_down(int crash, int secondary) static void celleb_kexec_cpu_down(int crash, int secondary)
{ {
beatic_deinit_IRQ(); beatic_deinit_IRQ();
} }
#endif
static struct of_device_id celleb_bus_ids[] = { static struct of_device_id celleb_bus_ids[] = {
{ .type = "scc", }, { .type = "scc", },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment