aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/timer.h')
-rw-r--r--include/asm-i386/timer.h8
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
7void setup_pit_timer(void); 8void setup_pit_timer(void);
9unsigned long long native_sched_clock(void);
10
8/* Modifiers for buggy PIT handling */ 11/* Modifiers for buggy PIT handling */
9extern int pit_latch_buggy; 12extern int pit_latch_buggy;
10extern int timer_ack; 13extern int timer_ack;
11extern int no_timer_check; 14extern int no_timer_check;
12extern unsigned long long (*custom_sched_clock)(void);
13extern int no_sync_cmos_clock; 15extern int no_sync_cmos_clock;
14extern int recalibrate_cpu_khz(void); 16extern 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