Skip to contentSkip to conversation

Remove CLOCK_TICK_RATE from mach_timer.h

PATCH New Deepak Saxena 1 participant 1 message Nov 1, 2011 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove CLOCK_TICK_RATE from mach_timer.h

CLOCK_TICK_RATE is defined as PIT_TICK_RATE on x86 so we update mach_timers.h to just use the later as we want to depecrate CLOCK_TICK_RATE.

---
 arch/x86/include/asm/mach_timer.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/include/asm/mach_timer.h +1 -1
index 8537285..88d0c3c 100644
@@ -15,7 +15,7 @@
 
 #define CALIBRATE_TIME_MSEC 30 /* 30 msecs */
 #define CALIBRATE_LATCH	\
-	((CLOCK_TICK_RATE * CALIBRATE_TIME_MSEC + 1000/2)/1000)
+	((PIT_TICK_RATE * CALIBRATE_TIME_MSEC + 1000/2)/1000)
 
 static inline void mach_prepare_counter(void)
 {
Signature · 1 line
1.7.4.1