Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Deepak Saxena and committed by
John Stultz
b0145bf3 b7743970

+1 -1
+1 -1
arch/x86/include/asm/mach_timer.h
··· 15 15 16 16 #define CALIBRATE_TIME_MSEC 30 /* 30 msecs */ 17 17 #define CALIBRATE_LATCH \ 18 - ((CLOCK_TICK_RATE * CALIBRATE_TIME_MSEC + 1000/2)/1000) 18 + ((PIT_TICK_RATE * CALIBRATE_TIME_MSEC + 1000/2)/1000) 19 19 20 20 static inline void mach_prepare_counter(void) 21 21 {