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>
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index 2a65fe7..fb4902b 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -123,7 +123,7 @@
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;
}