H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_TIMEX_H |
| 2 | #define _ASM_X86_TIMEX_H |
Thomas Gleixner | 2f0798a | 2007-10-12 23:04:23 +0200 | [diff] [blame] | 3 | |
| 4 | #include <asm/processor.h> |
| 5 | #include <asm/tsc.h> |
| 6 | |
Ingo Molnar | e1b4d11 | 2009-01-25 16:57:00 +0100 | [diff] [blame] | 7 | /* The PIT ticks at this frequency (in HZ): */ |
| 8 | #define PIT_TICK_RATE 1193182 |
| 9 | |
| 10 | #define CLOCK_TICK_RATE PIT_TICK_RATE |
Thomas Gleixner | 2f0798a | 2007-10-12 23:04:23 +0200 | [diff] [blame] | 11 | |
Andrew Morton | 941e492 | 2008-02-06 01:36:42 -0800 | [diff] [blame] | 12 | #define ARCH_HAS_READ_CURRENT_TIMER |
Thomas Gleixner | 2f0798a | 2007-10-12 23:04:23 +0200 | [diff] [blame] | 13 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 14 | #endif /* _ASM_X86_TIMEX_H */ |