提交 08cbcb97 编写于 作者: J Joel Stanley 提交者: Russell King

ARM: 9060/1: kexec: Remove unused kexec_reinit callback

The last (only?) user of this was removed in commit ba364fc7 ("ARM:
Kirkwood: Remove mach-kirkwood"), back in v3.17.

Link: https://lore.kernel.org/r/20210210235243.398810-1-joel@jms.id.auSigned-off-by: NJoel Stanley <joel@jms.id.au>
Reviewed-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NRussell King <rmk+kernel@armlinux.org.uk>
上级 95731b8e
...@@ -56,9 +56,6 @@ static inline void crash_setup_regs(struct pt_regs *newregs, ...@@ -56,9 +56,6 @@ static inline void crash_setup_regs(struct pt_regs *newregs,
} }
} }
/* Function pointer to optional machine-specific reinitialization */
extern void (*kexec_reinit)(void);
static inline unsigned long phys_to_boot_phys(phys_addr_t phys) static inline unsigned long phys_to_boot_phys(phys_addr_t phys)
{ {
return phys_to_idmap(phys); return phys_to_idmap(phys);
......
...@@ -147,11 +147,6 @@ void machine_crash_shutdown(struct pt_regs *regs) ...@@ -147,11 +147,6 @@ void machine_crash_shutdown(struct pt_regs *regs)
pr_info("Loading crashdump kernel...\n"); pr_info("Loading crashdump kernel...\n");
} }
/*
* Function pointer to optional machine-specific reinitialization
*/
void (*kexec_reinit)(void);
void machine_kexec(struct kimage *image) void machine_kexec(struct kimage *image)
{ {
unsigned long page_list, reboot_entry_phys; unsigned long page_list, reboot_entry_phys;
...@@ -187,9 +182,6 @@ void machine_kexec(struct kimage *image) ...@@ -187,9 +182,6 @@ void machine_kexec(struct kimage *image)
pr_info("Bye!\n"); pr_info("Bye!\n");
if (kexec_reinit)
kexec_reinit();
soft_restart(reboot_entry_phys); soft_restart(reboot_entry_phys);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册