Commit 991cae79 authored by John Levon's avatar John Levon Committed by Linus Torvalds

[PATCH] OProfile: small NMI shutdown fix

Reduce the possibility of dazed-and-confuseds.
parent 3b08caa4
......@@ -182,8 +182,8 @@ static void nmi_cpu_shutdown(void * dummy)
static void nmi_shutdown(void)
{
nmi_enabled = 0;
unset_nmi_callback();
on_each_cpu(nmi_cpu_shutdown, NULL, 0, 1);
unset_nmi_callback();
enable_lapic_nmi_watchdog();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment