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.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index da6d2ab31c6c..7b3362f9abdb 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -34,11 +34,6 @@ static DEFINE_PER_CPU(unsigned long, saved_lvtpc);
34/* 0 == registered but off, 1 == registered and on */ 34/* 0 == registered but off, 1 == registered and on */
35static int nmi_enabled = 0; 35static int nmi_enabled = 0;
36 36
37
38#ifdef CONFIG_OPROFILE_EVENT_MULTIPLEX
39extern atomic_t multiplex_counter;
40#endif
41
42struct op_counter_config counter_config[OP_MAX_COUNTER]; 37struct op_counter_config counter_config[OP_MAX_COUNTER];
43 38
44/* common functions */ 39/* common functions */
@@ -253,8 +248,6 @@ static int nmi_switch_event(void)
253 248
254 on_each_cpu(nmi_cpu_switch, NULL, 1); 249 on_each_cpu(nmi_cpu_switch, NULL, 1);
255 250
256 atomic_inc(&multiplex_counter);
257
258 return 0; 251 return 0;
259} 252}
260 253