| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #include <asm/processor.h> | 
| john stultz | 539eb11 | 2006-06-26 00:25:10 -0700 | [diff] [blame] | 10 | #include <asm/tsc.h> | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |  | 
| Venkatesh Pallipadi | 8a9e1b0 | 2005-06-23 00:08:13 -0700 | [diff] [blame] | 19 | extern int read_current_timer(unsigned long *timer_value); | 
|  | 20 | #define ARCH_HAS_READ_CURRENT_TIMER	1 | 
|  | 21 |  | 
| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | #endif |