diff options
author | 2006-01-11 22:46:30 +0100 | |
---|---|---|
committer | 2006-01-11 19:05:02 -0800 | |
commit | 77a75333a3d16b830ccf47cf51d944655b015363 (patch) | |
tree | 7c911f2763b640a14bfcefd5c3832ccdd93f69e5 /include | |
parent | [PATCH] x86_64: Move NUMA page_to_pfn/pfn_to_page functions out of line (diff) | |
download | linux-77a75333a3d16b830ccf47cf51d944655b015363.tar.gz linux-77a75333a3d16b830ccf47cf51d944655b015363.tar.bz2 linux-77a75333a3d16b830ccf47cf51d944655b015363.zip |
[PATCH] x86_64: sparse warning cleanups
Fix some trivial sparse warnings in x86_64 code.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86_64/vsyscall.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86_64/vsyscall.h b/include/asm-x86_64/vsyscall.h index 438a3f52f839..a85e16f56d73 100644 --- a/include/asm-x86_64/vsyscall.h +++ b/include/asm-x86_64/vsyscall.h @@ -36,8 +36,8 @@ struct vxtime_data { int mode; }; -#define hpet_readl(a) readl((void *)fix_to_virt(FIX_HPET_BASE) + a) -#define hpet_writel(d,a) writel(d, (void *)fix_to_virt(FIX_HPET_BASE) + a) +#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) /* vsyscall space (readonly) */ extern struct vxtime_data __vxtime; |