Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120802
b: refs/heads/master
c: d1e7b91
h: refs/heads/master
v: v3
  • Loading branch information
Eduardo Habkost authored and Ingo Molnar committed Nov 12, 2008
1 parent b7e4eb5 commit 035fd17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2bbe71b829564fb65a6bc7e1e25e02d70cffce8
refs/heads/master: d1e7b91cfaa8fc5ed736dcfb8beb5134a2385228
11 changes: 9 additions & 2 deletions trunk/arch/x86/kernel/crash.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,17 @@ static void nmi_shootdown_cpus(void)
}

/* Leave the nmi callback set */
}

static void kdump_nmi_shootdown_cpus(void)
{
nmi_shootdown_cpus();

disable_local_APIC();
}

#else
static void nmi_shootdown_cpus(void)
static void kdump_nmi_shootdown_cpus(void)
{
/* There are no cpus to shootdown */
}
Expand All @@ -144,7 +151,7 @@ void native_machine_crash_shutdown(struct pt_regs *regs)
/* The kernel is broken so disable interrupts */
local_irq_disable();

nmi_shootdown_cpus();
kdump_nmi_shootdown_cpus();
lapic_shutdown();
#if defined(CONFIG_X86_IO_APIC)
disable_IO_APIC();
Expand Down

0 comments on commit 035fd17

Please sign in to comment.