diff options
Diffstat (limited to 'include/asm-x86/tsc.h')
-rw-r--r-- | include/asm-x86/tsc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-x86/tsc.h b/include/asm-x86/tsc.h index 7d3e27f7d484..0434bd8349a7 100644 --- a/include/asm-x86/tsc.h +++ b/include/asm-x86/tsc.h | |||
@@ -18,6 +18,7 @@ extern unsigned int cpu_khz; | |||
18 | extern unsigned int tsc_khz; | 18 | extern unsigned int tsc_khz; |
19 | 19 | ||
20 | extern void disable_TSC(void); | 20 | extern void disable_TSC(void); |
21 | extern void enable_TSC(void); | ||
21 | 22 | ||
22 | static inline cycles_t get_cycles(void) | 23 | static inline cycles_t get_cycles(void) |
23 | { | 24 | { |
@@ -42,7 +43,7 @@ static inline cycles_t vget_cycles(void) | |||
42 | if (!cpu_has_tsc) | 43 | if (!cpu_has_tsc) |
43 | return 0; | 44 | return 0; |
44 | #endif | 45 | #endif |
45 | return (cycles_t) __native_read_tsc(); | 46 | return (cycles_t)__native_read_tsc(); |
46 | } | 47 | } |
47 | 48 | ||
48 | extern void tsc_init(void); | 49 | extern void tsc_init(void); |