diff options
Diffstat (limited to 'include/asm-i386/timer.h')
-rw-r--r-- | include/asm-i386/timer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-i386/timer.h b/include/asm-i386/timer.h index 4752c3a6a708..d1f7b4f575b4 100644 --- a/include/asm-i386/timer.h +++ b/include/asm-i386/timer.h | |||
@@ -4,13 +4,19 @@ | |||
4 | #include <linux/pm.h> | 4 | #include <linux/pm.h> |
5 | 5 | ||
6 | #define TICK_SIZE (tick_nsec / 1000) | 6 | #define TICK_SIZE (tick_nsec / 1000) |
7 | |||
7 | void setup_pit_timer(void); | 8 | void setup_pit_timer(void); |
9 | unsigned long long native_sched_clock(void); | ||
10 | |||
8 | /* Modifiers for buggy PIT handling */ | 11 | /* Modifiers for buggy PIT handling */ |
9 | extern int pit_latch_buggy; | 12 | extern int pit_latch_buggy; |
10 | extern int timer_ack; | 13 | extern int timer_ack; |
11 | extern int no_timer_check; | 14 | extern int no_timer_check; |
12 | extern unsigned long long (*custom_sched_clock)(void); | ||
13 | extern int no_sync_cmos_clock; | 15 | extern int no_sync_cmos_clock; |
14 | extern int recalibrate_cpu_khz(void); | 16 | extern int recalibrate_cpu_khz(void); |
15 | 17 | ||
18 | #ifndef CONFIG_PARAVIRT | ||
19 | #define get_scheduled_cycles(val) rdtscll(val) | ||
20 | #endif | ||
21 | |||
16 | #endif | 22 | #endif |