blob: 3666044409f06c6c2ec0c1ee6ba45d9dbeb1cd50 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 Torvalds1da177e2005-04-16 15:20:36 -07009#include <asm/processor.h>
john stultz539eb112006-06-26 00:25:10 -070010#include <asm/tsc.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
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 Pallipadi8a9e1b02005-06-23 00:08:13 -070019extern int read_current_timer(unsigned long *timer_value);
20#define ARCH_HAS_READ_CURRENT_TIMER 1
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#endif