提交 7e7b4389 编写于 作者: R Robert Richter 提交者: Ingo Molnar

x86/oprofile: fix on_each_cpu build error

Signed-off-by: NRobert Richter <robert.richter@amd.com>
Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
Cc: Jason Yeh <jason.yeh@amd.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 1a960b40
...@@ -123,7 +123,7 @@ static int nmi_switch_event(void) ...@@ -123,7 +123,7 @@ static int nmi_switch_event(void)
if (nmi_multiplex_on() < 0) if (nmi_multiplex_on() < 0)
return -EINVAL; return -EINVAL;
on_each_cpu(nmi_cpu_switch, NULL, 0, 1); on_each_cpu(nmi_cpu_switch, NULL, 1);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册