Messages in this thread Patch in this message |  | | | From | Jiri Slaby <> | | Subject | [PATCH 1/1] ia64: fix build of ioremap_cache | | Date | Thu, 6 Jan 2011 09:31:27 +0100 |
| |
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
|  |