1/* 2 * linux/include/asm-i386/timex.h 3 * 4 * i386 architecture timex specifications 5 */ 6#ifndef _ASMi386_TIMEX_H 7#define _ASMi386_TIMEX_H 8 9#include <asm/processor.h> 10#include <asm/tsc.h> 11 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 17 18 19extern int read_current_timer(unsigned long *timer_value); 20#define ARCH_HAS_READ_CURRENT_TIMER 1 21 22#endif 23