]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/timer.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/vxy/lksctp-dev
[linux-2.6-omap-h63xx.git] / include / asm-i386 / timer.h
index 4752c3a6a7089580eaf6b18333f26eadc94e18c8..153770e25faaac62f525aaa86ae93e7f60b96cbd 100644 (file)
@@ -4,13 +4,19 @@
 #include <linux/pm.h>
 
 #define TICK_SIZE (tick_nsec / 1000)
+
 void setup_pit_timer(void);
-/* Modifiers for buggy PIT handling */
-extern int pit_latch_buggy;
+unsigned long long native_sched_clock(void);
+unsigned long native_calculate_cpu_khz(void);
+
 extern int timer_ack;
 extern int no_timer_check;
-extern unsigned long long (*custom_sched_clock)(void);
 extern int no_sync_cmos_clock;
 extern int recalibrate_cpu_khz(void);
 
+#ifndef CONFIG_PARAVIRT
+#define get_scheduled_cycles(val) rdtscll(val)
+#define calculate_cpu_khz() native_calculate_cpu_khz()
+#endif
+
 #endif