aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/hpet.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index dbe0e1d44113..078dbc6d80ec 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -25,11 +25,7 @@
25unsigned long hpet_address; 25unsigned long hpet_address;
26static void __iomem *hpet_virt_address; 26static void __iomem *hpet_virt_address;
27 27
28/* Temporary hack. Cleanup after x86_64 clock events conversion */ 28unsigned long hpet_readl(unsigned long a)
29#undef hpet_readl
30#undef hpet_writel
31
32static inline unsigned long hpet_readl(unsigned long a)
33{ 29{
34 return readl(hpet_virt_address + a); 30 return readl(hpet_virt_address + a);
35} 31}