aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/oprofile')
-rw-r--r--arch/x86/oprofile/nmi_int.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index cc48d3fde545..3238ad32ffd8 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -218,8 +218,8 @@ static int nmi_setup(void)
218 } 218 }
219 219
220 } 220 }
221 on_each_cpu(nmi_save_registers, NULL, 0, 1); 221 on_each_cpu(nmi_save_registers, NULL, 1);
222 on_each_cpu(nmi_cpu_setup, NULL, 0, 1); 222 on_each_cpu(nmi_cpu_setup, NULL, 1);
223 nmi_enabled = 1; 223 nmi_enabled = 1;
224 return 0; 224 return 0;
225} 225}
@@ -271,7 +271,7 @@ static void nmi_shutdown(void)
271{ 271{
272 struct op_msrs *msrs = &__get_cpu_var(cpu_msrs); 272 struct op_msrs *msrs = &__get_cpu_var(cpu_msrs);
273 nmi_enabled = 0; 273 nmi_enabled = 0;
274 on_each_cpu(nmi_cpu_shutdown, NULL, 0, 1); 274 on_each_cpu(nmi_cpu_shutdown, NULL, 1);
275 unregister_die_notifier(&profile_exceptions_nb); 275 unregister_die_notifier(&profile_exceptions_nb);
276 model->shutdown(msrs); 276 model->shutdown(msrs);
277 free_msrs(); 277 free_msrs();
@@ -285,7 +285,7 @@ static void nmi_cpu_start(void *dummy)
285 285
286static int nmi_start(void) 286static int nmi_start(void)
287{ 287{
288 on_each_cpu(nmi_cpu_start, NULL, 0, 1); 288 on_each_cpu(nmi_cpu_start, NULL, 1);
289 return 0; 289 return 0;
290} 290}
291 291
@@ -297,7 +297,7 @@ static void nmi_cpu_stop(void *dummy)
297 297
298static void nmi_stop(void) 298static void nmi_stop(void)
299{ 299{
300 on_each_cpu(nmi_cpu_stop, NULL, 0, 1); 300 on_each_cpu(nmi_cpu_stop, NULL, 1);
301} 301}
302 302
303struct op_counter_config counter_config[OP_MAX_COUNTER]; 303struct op_counter_config counter_config[OP_MAX_COUNTER];