summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mach_timer.h
diff options
context:
space:
mode:
authorDeepak Saxena <dsaxena@linaro.org>2011-11-01 14:25:16 -0700
committerJohn Stultz <john.stultz@linaro.org>2011-11-21 19:00:57 -0800
commitb0145bf3660359507a22e71b20b666c6620fa3a8 (patch)
tree68bca95feeb656bac583da8c462f41b17d26c1d8 /arch/x86/include/asm/mach_timer.h
parentb7743970b054a08acf6445cc6d10838e60cdb639 (diff)
downloadlinux-0-day-b0145bf3660359507a22e71b20b666c6620fa3a8.tar.gz
linux-0-day-b0145bf3660359507a22e71b20b666c6620fa3a8.tar.xz
time: x86: 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. Signed-off-by: Deepak Saxena <dsaxena@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch/x86/include/asm/mach_timer.h')
-rw-r--r--arch/x86/include/asm/mach_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mach_timer.h b/arch/x86/include/asm/mach_timer.h
index 853728519ae9b..88d0c3c74c132 100644
--- a/arch/x86/include/asm/mach_timer.h
+++ b/arch/x86/include/asm/mach_timer.h
@@ -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)
{