2 * linux/include/asm-x86_64/timex.h
4 * x86-64 architecture timex specifications
6 #ifndef _ASMx8664_TIMEX_H
7 #define _ASMx8664_TIMEX_H
9 #include <asm/8253pit.h>
11 #include <asm/vsyscall.h>
14 #define CLOCK_TICK_RATE PIT_TICK_RATE /* Underlying HZ */
16 typedef unsigned long long cycles_t;
18 static inline cycles_t get_cycles (void)
20 unsigned long long ret;
26 extern unsigned int cpu_khz;
28 extern int read_current_timer(unsigned long *timer_value);
29 #define ARCH_HAS_READ_CURRENT_TIMER 1
31 extern struct vxtime_data vxtime;