[PATCH 1/1] ia64: fix build of ioremap_cache

Jiri Slaby
2011-01-06T08:32:02Z

Commit "ACPI: use ioremap_cache()" introduced ioremap_cache which
causes build failures. Remove "unsigned long" from parameters of
called ioremap.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Len Brown <len.brown@intel.com>
---
arch/ia64/include/asm/io.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h
index 009a7e0..e5a6c35 100644
--- a/arch/ia64/include/asm/io.h
+++ b/arch/ia64/include/asm/io.h
@@ -428,7 +428,7 @@ extern void __iomem * early_ioremap (unsigned long phys_addr, unsigned long size
extern void early_iounmap (volatile void __iomem *addr, unsigned long size);
static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned long size)
{
- return ioremap(unsigned long phys_addr, unsigned long size);
+ return ioremap(phys_addr, size);
}

--
1.7.3.4