[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1294302687-8051-1-git-send-email-jslaby@suse.cz>
Date:	Thu,  6 Jan 2011 09:31:27 +0100
From:	Jiri Slaby <jslaby@...e.cz>
To:	len.brown@...el.com
Cc:	akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
	jirislaby@...il.com
Subject: [PATCH 1/1] ia64: fix build of ioremap_cache
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@...e.cz>
Cc: Len Brown <len.brown@...el.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
