summaryrefslogtreecommitdiffstats
path: root/arch/x86_64
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-15 10:17:50 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-15 19:04:30 +0100
commitb16b88e55d808a6324d5ff02d8c686f7884870f8 (patch)
tree5a616a73c5322ac2e2b0e01842cbd631797ba53e /arch/x86_64
parent[PATCH] i386,amd64: mmconfig __iomem annotations (diff)
downloadlinux-b16b88e55d808a6324d5ff02d8c686f7884870f8.tar.xz
linux-b16b88e55d808a6324d5ff02d8c686f7884870f8.zip
[PATCH] i386,amd64: ioremap.c __iomem annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/mm/ioremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/mm/ioremap.c b/arch/x86_64/mm/ioremap.c
index 0d260e4492f7..ae207064201e 100644
--- a/arch/x86_64/mm/ioremap.c
+++ b/arch/x86_64/mm/ioremap.c
@@ -263,7 +263,7 @@ void iounmap(volatile void __iomem *addr)
addr < phys_to_virt(ISA_END_ADDRESS))
return;
- addr = (volatile void *)(PAGE_MASK & (unsigned long __force)addr);
+ addr = (volatile void __iomem *)(PAGE_MASK & (unsigned long __force)addr);
/* Use the vm area unlocked, assuming the caller
ensures there isn't another iounmap for the same address
in parallel. Reuse of the virtual address is prevented by