diff options
Diffstat (limited to 'include/asm-i386/timer.h')
-rw-r--r-- | include/asm-i386/timer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/timer.h b/include/asm-i386/timer.h index d1f7b4f575b4..12dd67bf760f 100644 --- a/include/asm-i386/timer.h +++ b/include/asm-i386/timer.h | |||
@@ -7,6 +7,7 @@ | |||
7 | 7 | ||
8 | void setup_pit_timer(void); | 8 | void setup_pit_timer(void); |
9 | unsigned long long native_sched_clock(void); | 9 | unsigned long long native_sched_clock(void); |
10 | unsigned long native_calculate_cpu_khz(void); | ||
10 | 11 | ||
11 | /* Modifiers for buggy PIT handling */ | 12 | /* Modifiers for buggy PIT handling */ |
12 | extern int pit_latch_buggy; | 13 | extern int pit_latch_buggy; |
@@ -17,6 +18,7 @@ extern int recalibrate_cpu_khz(void); | |||
17 | 18 | ||
18 | #ifndef CONFIG_PARAVIRT | 19 | #ifndef CONFIG_PARAVIRT |
19 | #define get_scheduled_cycles(val) rdtscll(val) | 20 | #define get_scheduled_cycles(val) rdtscll(val) |
21 | #define calculate_cpu_khz() native_calculate_cpu_khz() | ||
20 | #endif | 22 | #endif |
21 | 23 | ||
22 | #endif | 24 | #endif |