diff options
Diffstat (limited to 'arch/x86/include/asm/perf_counter.h')
| -rw-r--r-- | arch/x86/include/asm/perf_counter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/perf_counter.h b/arch/x86/include/asm/perf_counter.h index 5fb33e160ea0..fa64e401589d 100644 --- a/arch/x86/include/asm/perf_counter.h +++ b/arch/x86/include/asm/perf_counter.h | |||
| @@ -87,6 +87,9 @@ union cpuid10_edx { | |||
| 87 | #ifdef CONFIG_PERF_COUNTERS | 87 | #ifdef CONFIG_PERF_COUNTERS |
| 88 | extern void init_hw_perf_counters(void); | 88 | extern void init_hw_perf_counters(void); |
| 89 | extern void perf_counters_lapic_init(void); | 89 | extern void perf_counters_lapic_init(void); |
| 90 | |||
| 91 | #define PERF_COUNTER_INDEX_OFFSET 0 | ||
| 92 | |||
| 90 | #else | 93 | #else |
| 91 | static inline void init_hw_perf_counters(void) { } | 94 | static inline void init_hw_perf_counters(void) { } |
| 92 | static inline void perf_counters_lapic_init(void) { } | 95 | static inline void perf_counters_lapic_init(void) { } |
