浏览代码

x86/oprofile: fix on_each_cpu build error

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>
Robert Richter 17 年之前
父节点
当前提交
7e7b43892b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/oprofile/nmi_int.c

+ 1 - 1
arch/x86/oprofile/nmi_int.c

@@ -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;
 }
 }