timex.h 457 B

12345678910111213141516171819202122
  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. #include <asm/processor.h>
  9. #include <asm/tsc.h>
  10. #ifdef CONFIG_X86_ELAN
  11. # define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
  12. #else
  13. # define CLOCK_TICK_RATE 1193182 /* Underlying HZ */
  14. #endif
  15. extern int read_current_timer(unsigned long *timer_value);
  16. #define ARCH_HAS_READ_CURRENT_TIMER 1
  17. #endif