aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/crash.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2008-11-12 08:34:41 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-12 12:55:46 -0500
commitc370e5e089adfd5b1b863f3464cccae9ebf33cca (patch)
tree2fa9fc47912ede09582b4cc6904527cf464ce150 /arch/x86/kernel/crash.c
parent8e294786316aca41c66b8b73ba1ee74a4ae7d452 (diff)
x86 kdump: make nmi_shootdown_cpus() non-static
Impact: make API available to the rest of x86 platform code Add prototype to asm/reboot.h. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/crash.c')
-rw-r--r--arch/x86/kernel/crash.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c
index f23c2beeb37d..fb298d1daac9 100644
--- a/arch/x86/kernel/crash.c
+++ b/arch/x86/kernel/crash.c
@@ -29,7 +29,6 @@
29 29
30#include <mach_ipi.h> 30#include <mach_ipi.h>
31 31
32typedef void (*nmi_shootdown_cb)(int, struct die_args*);
33 32
34#if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC) 33#if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC)
35 34
@@ -100,7 +99,7 @@ static struct notifier_block crash_nmi_nb = {
100 .notifier_call = crash_nmi_callback, 99 .notifier_call = crash_nmi_callback,
101}; 100};
102 101
103static void nmi_shootdown_cpus(nmi_shootdown_cb callback) 102void nmi_shootdown_cpus(nmi_shootdown_cb callback)
104{ 103{
105 unsigned long msecs; 104 unsigned long msecs;
106 105