summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/vsyscall.h
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2007-10-12 23:04:23 +0200
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-12 23:04:23 +0200
commit31c435d75e7d15a5f965c5eb0e33fe0e236f49a4 (patch)
tree800c8fe9722e34bfbf3ba52c2393b22264ba4bed /include/asm-x86/vsyscall.h
parenti386: Remove the useless #ifdef in i8253.h (diff)
downloadlinux-31c435d75e7d15a5f965c5eb0e33fe0e236f49a4.tar.xz
linux-31c435d75e7d15a5f965c5eb0e33fe0e236f49a4.zip
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>
Diffstat (limited to 'include/asm-x86/vsyscall.h')
-rw-r--r--include/asm-x86/vsyscall.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-x86/vsyscall.h b/include/asm-x86/vsyscall.h
index 3b8ceb4af2cf..f01c49f5d108 100644
--- a/include/asm-x86/vsyscall.h
+++ b/include/asm-x86/vsyscall.h
@@ -29,9 +29,6 @@ enum vsyscall_num {
#define VGETCPU_RDTSCP 1
#define VGETCPU_LSL 2
-#define hpet_readl(a) readl((const void __iomem *)fix_to_virt(FIX_HPET_BASE) + a)
-#define hpet_writel(d,a) writel(d, (void __iomem *)fix_to_virt(FIX_HPET_BASE) + a)
-
extern int __vgetcpu_mode;
extern volatile unsigned long __jiffies;