diff options
Diffstat (limited to 'include/asm-x86/tsc.h')
-rw-r--r-- | include/asm-x86/tsc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/tsc.h b/include/asm-x86/tsc.h index 9b7d264897fa..401303724130 100644 --- a/include/asm-x86/tsc.h +++ b/include/asm-x86/tsc.h | |||
@@ -16,6 +16,10 @@ typedef unsigned long long cycles_t; | |||
16 | 16 | ||
17 | extern unsigned int cpu_khz; | 17 | extern unsigned int cpu_khz; |
18 | extern unsigned int tsc_khz; | 18 | extern unsigned int tsc_khz; |
19 | /* flag for disabling the tsc */ | ||
20 | extern int tsc_disable; | ||
21 | |||
22 | extern void disable_TSC(void); | ||
19 | 23 | ||
20 | static inline cycles_t get_cycles(void) | 24 | static inline cycles_t get_cycles(void) |
21 | { | 25 | { |