Skip to content

Commit

Permalink
x86/oprofile: fix on_each_cpu build error
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Cc: Jason Yeh <jason.yeh@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Robert Richter authored and Ingo Molnar committed Jul 26, 2008
1 parent 1a960b4 commit 7e7b438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/oprofile/nmi_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static int nmi_switch_event(void)
if (nmi_multiplex_on() < 0)
return -EINVAL;

on_each_cpu(nmi_cpu_switch, NULL, 0, 1);
on_each_cpu(nmi_cpu_switch, NULL, 1);

return 0;
}
Expand Down

0 comments on commit 7e7b438

Please sign in to comment.