lkml.org 
[lkml]   [2011]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/1] ia64: fix build of ioremap_cache
Date
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



\
 
 \ /
  Last update: 2011-01-06 09:35    [from the cache]
©2003-2011 Jasper Spaans