diff options
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r-- | kernel/perf_counter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index e7f60f8e31ed..8cb94a52d1bb 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -106,16 +106,16 @@ hw_perf_group_sched_in(struct perf_counter *group_leader, | |||
106 | 106 | ||
107 | void __weak perf_counter_print_debug(void) { } | 107 | void __weak perf_counter_print_debug(void) { } |
108 | 108 | ||
109 | static DEFINE_PER_CPU(int, disable_count); | 109 | static DEFINE_PER_CPU(int, perf_disable_count); |
110 | 110 | ||
111 | void __perf_disable(void) | 111 | void __perf_disable(void) |
112 | { | 112 | { |
113 | __get_cpu_var(disable_count)++; | 113 | __get_cpu_var(perf_disable_count)++; |
114 | } | 114 | } |
115 | 115 | ||
116 | bool __perf_enable(void) | 116 | bool __perf_enable(void) |
117 | { | 117 | { |
118 | return !--__get_cpu_var(disable_count); | 118 | return !--__get_cpu_var(perf_disable_count); |
119 | } | 119 | } |
120 | 120 | ||
121 | void perf_disable(void) | 121 | void perf_disable(void) |