Loading arch/x86/include/asm/reboot.h +5 −0 Original line number Diff line number Diff line #ifndef _ASM_X86_REBOOT_H #define _ASM_X86_REBOOT_H #include <linux/kdebug.h> struct pt_regs; struct machine_ops { Loading @@ -18,4 +20,7 @@ void native_machine_crash_shutdown(struct pt_regs *regs); void native_machine_shutdown(void); void machine_real_restart(const unsigned char *code, int length); typedef void (*nmi_shootdown_cb)(int, struct die_args*); void nmi_shootdown_cpus(nmi_shootdown_cb callback); #endif /* _ASM_X86_REBOOT_H */ arch/x86/kernel/crash.c +1 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ #include <mach_ipi.h> typedef void (*nmi_shootdown_cb)(int, struct die_args*); #if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC) Loading Loading @@ -100,7 +99,7 @@ static struct notifier_block crash_nmi_nb = { .notifier_call = crash_nmi_callback, }; static void nmi_shootdown_cpus(nmi_shootdown_cb callback) void nmi_shootdown_cpus(nmi_shootdown_cb callback) { unsigned long msecs; Loading Loading
arch/x86/include/asm/reboot.h +5 −0 Original line number Diff line number Diff line #ifndef _ASM_X86_REBOOT_H #define _ASM_X86_REBOOT_H #include <linux/kdebug.h> struct pt_regs; struct machine_ops { Loading @@ -18,4 +20,7 @@ void native_machine_crash_shutdown(struct pt_regs *regs); void native_machine_shutdown(void); void machine_real_restart(const unsigned char *code, int length); typedef void (*nmi_shootdown_cb)(int, struct die_args*); void nmi_shootdown_cpus(nmi_shootdown_cb callback); #endif /* _ASM_X86_REBOOT_H */
arch/x86/kernel/crash.c +1 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ #include <mach_ipi.h> typedef void (*nmi_shootdown_cb)(int, struct die_args*); #if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC) Loading Loading @@ -100,7 +99,7 @@ static struct notifier_block crash_nmi_nb = { .notifier_call = crash_nmi_callback, }; static void nmi_shootdown_cpus(nmi_shootdown_cb callback) void nmi_shootdown_cpus(nmi_shootdown_cb callback) { unsigned long msecs; Loading