openap-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openap-cvs] : linux/include/asm-i386 timex.h,1.1.1.1,1.2


From: David C Wang <address@hidden>
Subject: [openap-cvs] : linux/include/asm-i386 timex.h,1.1.1.1,1.2
Date: Tue, 14 May 2002 15:53:33 -0400

Update of /cvsroot/openap/linux/include/asm-i386
In directory subversions:/tmp/cvs-serv5742/include/asm-i386

Modified Files:
        timex.h 
Log Message:
updated linux kernel pristine sources to openap release 1.1



Index: timex.h
===================================================================
RCS file: /cvsroot/openap/linux/include/asm-i386/timex.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- timex.h     14 May 2002 18:56:11 -0000      1.1.1.1
+++ timex.h     14 May 2002 19:53:30 -0000      1.2
@@ -9,7 +9,16 @@
 #include <linux/config.h>
 #include <asm/msr.h>
 
-#define CLOCK_TICK_RATE        1193180 /* Underlying HZ */
+#ifdef CONFIG_AMD_ELAN
+ #ifndef CONFIG_M586
+  #define CLOCK_TICK_RATE         1189200 /* Underlying HZ on AMD 
SC300/310/400/410 */
+ #else
+  #define CLOCK_TICK_RATE         1188200 /* Underlying HZ on AMD SC520 */
+ #endif
+#else
+ #define CLOCK_TICK_RATE         1193180 /* Underlying HZ */
+#endif
+
 #define CLOCK_TICK_FACTOR      20      /* Factor of both 1000000 and 
CLOCK_TICK_RATE */
 #define FINETUNE ((((((long)LATCH * HZ - CLOCK_TICK_RATE) << SHIFT_HZ) * \
        (1000000/CLOCK_TICK_FACTOR) / (CLOCK_TICK_RATE/CLOCK_TICK_FACTOR)) \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]