allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / asm-i386 / timex.h
blob3666044409f06c6c2ec0c1ee6ba45d9dbeb1cd50
1 /*
2 * linux/include/asm-i386/timex.h
4 * i386 architecture timex specifications
5 */
6 #ifndef _ASMi386_TIMEX_H
7 #define _ASMi386_TIMEX_H
9 #include <asm/processor.h>
10 #include <asm/tsc.h>
12 #ifdef CONFIG_X86_ELAN
13 # define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
14 #else
15 # define CLOCK_TICK_RATE 1193182 /* Underlying HZ */
16 #endif
19 extern int read_current_timer(unsigned long *timer_value);
20 #define ARCH_HAS_READ_CURRENT_TIMER 1
22 #endif