diff options
author | Al Viro | 2005-12-15 09:17:50 +0000 |
---|---|---|
committer | Linus Torvalds | 2005-12-15 10:04:30 -0800 |
commit | b16b88e55d808a6324d5ff02d8c686f7884870f8 (patch) | |
tree | 5a616a73c5322ac2e2b0e01842cbd631797ba53e /arch/i386/mm | |
parent | 8b8a4e33e4a320735f353a092013b314f142493d (diff) |
[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/i386/mm')
-rw-r--r-- | arch/i386/mm/ioremap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/mm/ioremap.c b/arch/i386/mm/ioremap.c index 8498b5ac3955..247fde76aaed 100644 --- a/arch/i386/mm/ioremap.c +++ b/arch/i386/mm/ioremap.c @@ -245,7 +245,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 |