Skip to content

Commit

Permalink
time: x86: Remove CLOCK_TICK_RATE from mach_timer.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Deepak Saxena authored and John Stultz committed Nov 22, 2011
1 parent b774397 commit b0145bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/asm/mach_timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit b0145bf

Please sign in to comment.