mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
[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:
parent
0f9ec0a828
commit
2333eae215
@ -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", },
|
||||
|
Loading…
Reference in New Issue
Block a user