Messages in this thread Patch in this message | | | Date | Fri, 21 Mar 2003 19:56:50 GMT | From | Alan Cox <> | Subject | PATCH: add another clock tick rate variant |
| |
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/include/asm-i386/timex.h linux-2.5.65-ac2/include/asm-i386/timex.h --- linux-2.5.65/include/asm-i386/timex.h 2003-02-10 18:38:16.000000000 +0000 +++ linux-2.5.65-ac2/include/asm-i386/timex.h 2003-03-14 01:17:16.000000000 +0000 @@ -9,11 +9,15 @@ #include <linux/config.h> #include <asm/msr.h> +#ifdef CONFIG_X86_PC9800 + extern int CLOCK_TICK_RATE; +#else #ifdef CONFIG_MELAN # define CLOCK_TICK_RATE 1189200 /* AMD Elan has different frequency! */ #else # define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ #endif +#endif #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */ #define FINETUNE ((((((long)LATCH * HZ - CLOCK_TICK_RATE) << SHIFT_HZ) * \ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |