aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-09-19 16:37:01 -0600
committerMatthew Wilcox <willy@parisc-linux.org>2006-10-04 06:50:26 -0600
commit01232e932988fcf6ad87be49f69e633dd652a46d (patch)
treefa940c1970082cec27776dbfd6be53dba3ddc6f0 /arch/parisc/mm
parent[PARISC] Add support for Quicksilver AGPGART (diff)
downloadlinux-dev-01232e932988fcf6ad87be49f69e633dd652a46d.tar.xz
linux-dev-01232e932988fcf6ad87be49f69e633dd652a46d.zip
[PARISC] Fix iounmap compile warning
iounmap's argument needs to be both const and volatile, otherwise we'll get warnings that we're discarding pointer qualifiers Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/mm')
-rw-r--r--arch/parisc/mm/ioremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/mm/ioremap.c b/arch/parisc/mm/ioremap.c
index 27384567a1d0..47a1d2ac9419 100644
--- a/arch/parisc/mm/ioremap.c
+++ b/arch/parisc/mm/ioremap.c
@@ -188,7 +188,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
}
EXPORT_SYMBOL(__ioremap);
-void iounmap(void __iomem *addr)
+void iounmap(const volatile void __iomem *addr)
{
if (addr > high_memory)
return vfree((void *) (PAGE_MASK & (unsigned long __force) addr));