[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>
This commit is contained in:
Родитель
0f9ec0a828
Коммит
2333eae215
|
@ -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", },
|
||||||
|
|
Загрузка…
Ссылка в новой задаче