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

From: Jiri Slaby
Date: Thu Jan 06 2011 - 03:32:06 EST

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@xxxxxxx>
Cc: Len Brown <len.brown@xxxxxxxxx>
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);


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/