提交 cbf1599b 编写于 作者: D Deepak Saxena 提交者: John Stultz

time: x86: Remove CLOCK_TICK_RATE from acpi_pm clocksource driver

The acpi_pm clocksource driver uses CLOCK_TICK_RATE which is
defined as PIT_TICK_RATE on x86. This patch cleans it up to
just use the later so that CLOCK_TICK_RATE can be depecrated.
Signed-off-by: NDeepak Saxena <dsaxena@linaro.org>
Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
上级 b0145bf3
...@@ -143,7 +143,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_LE, ...@@ -143,7 +143,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_LE,
#ifndef CONFIG_X86_64 #ifndef CONFIG_X86_64
#include <asm/mach_timer.h> #include <asm/mach_timer.h>
#define PMTMR_EXPECTED_RATE \ #define PMTMR_EXPECTED_RATE \
((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (CLOCK_TICK_RATE>>10)) ((CALIBRATE_LATCH * (PMTMR_TICKS_PER_SEC >> 10)) / (PIT_TICK_RATE>>10))
/* /*
* Some boards have the PMTMR running way too fast. We check * Some boards have the PMTMR running way too fast. We check
* the PMTMR rate against PIT channel 2 to catch these cases. * the PMTMR rate against PIT channel 2 to catch these cases.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册