Commit b8278cb8 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] add another clock tick rate variant

parent 14282abf
...@@ -9,11 +9,15 @@ ...@@ -9,11 +9,15 @@
#include <linux/config.h> #include <linux/config.h>
#include <asm/msr.h> #include <asm/msr.h>
#ifdef CONFIG_X86_PC9800
extern int CLOCK_TICK_RATE;
#else
#ifdef CONFIG_MELAN #ifdef CONFIG_MELAN
# define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */ # define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */
#else #else
# define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ # define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
#endif #endif
#endif
#define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */ #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
#define FINETUNE ((((((long)LATCH * HZ - CLOCK_TICK_RATE) << SHIFT_HZ) * \ #define FINETUNE ((((((long)LATCH * HZ - CLOCK_TICK_RATE) << SHIFT_HZ) * \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment