i386/x8664: cleanup the shared hpet code
Remove hpet_readl/writel from vsyscall.h, where it does not belong anyway. Use the hpet code itself. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
This commit is contained in:

committed by
Thomas Gleixner

parent
39d0b7ba7b
commit
31c435d75e
@@ -25,11 +25,7 @@
|
||||
unsigned long hpet_address;
|
||||
static void __iomem *hpet_virt_address;
|
||||
|
||||
/* Temporary hack. Cleanup after x86_64 clock events conversion */
|
||||
#undef hpet_readl
|
||||
#undef hpet_writel
|
||||
|
||||
static inline unsigned long hpet_readl(unsigned long a)
|
||||
unsigned long hpet_readl(unsigned long a)
|
||||
{
|
||||
return readl(hpet_virt_address + a);
|
||||
}
|
||||
|
Reference in New Issue
Block a user