mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
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>
This commit is contained in:
parent
b7743970b0
commit
b0145bf366
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user