Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109970
b: refs/heads/master
c: b61e06f
h: refs/heads/master
v: v3
  • Loading branch information
Andrea Righi authored and Ingo Molnar committed Sep 22, 2008
1 parent 9856bfd commit 9603cd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 7e4f88da7bf1887563f70bd5edbbd0479e31dc12
refs/heads/master: b61e06f258e50b25c38a73bea782bdb6876f0f70
4 changes: 3 additions & 1 deletion trunk/arch/x86/oprofile/nmi_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,12 @@ static void nmi_cpu_shutdown(void *dummy)

static void nmi_shutdown(void)
{
struct op_msrs *msrs = &get_cpu_var(cpu_msrs);
struct op_msrs *msrs;

nmi_enabled = 0;
on_each_cpu(nmi_cpu_shutdown, NULL, 1);
unregister_die_notifier(&profile_exceptions_nb);
msrs = &get_cpu_var(cpu_msrs);
model->shutdown(msrs);
free_msrs();
put_cpu_var(cpu_msrs);
Expand Down

0 comments on commit 9603cd3

Please sign in to comment.