Blame view

include/asm-x86/timex.h 483 Bytes
2f0798a3b   Thomas Gleixner   x86: unify timex....
1
2
3
4
5
6
7
8
9
  /* x86 architecture timex specifications */
  #ifndef _ASM_X86_TIMEX_H
  #define _ASM_X86_TIMEX_H
  
  #include <asm/processor.h>
  #include <asm/tsc.h>
  
  #ifdef CONFIG_X86_ELAN
  #  define PIT_TICK_RATE 1189200 /* AMD Elan has different frequency! */
5e3a77e9a   Florian Fainelli   x86: add support ...
10
11
  #elif defined(CONFIG_X86_RDC321X)
  #  define PIT_TICK_RATE 1041667 /* Underlying HZ for R8610 */
96a388de5   Thomas Gleixner   i386/x86_64: move...
12
  #else
2f0798a3b   Thomas Gleixner   x86: unify timex....
13
14
15
  #  define PIT_TICK_RATE 1193182 /* Underlying HZ */
  #endif
  #define CLOCK_TICK_RATE	PIT_TICK_RATE
941e492bd   Andrew Morton   read_current_time...
16
  #define ARCH_HAS_READ_CURRENT_TIMER
2f0798a3b   Thomas Gleixner   x86: unify timex....
17

96a388de5   Thomas Gleixner   i386/x86_64: move...
18
  #endif