aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/io.c
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2013-05-16 19:40:22 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-05-23 00:09:44 +0100
commit9b97173e785a54c5df0aa23d1e1f680f61e36e43 (patch)
treee84f3017f6c642d3e1ec6f4ad2a56d6c44206283 /arch/arm/mach-msm/io.c
parentARM: 7716/1: bcm281xx: Add L2 support for Rev A2 chips (diff)
downloadlinux-dev-9b97173e785a54c5df0aa23d1e1f680f61e36e43.tar.xz
linux-dev-9b97173e785a54c5df0aa23d1e1f680f61e36e43.zip
ARM: 7728/1: mm: Use phys_addr_t properly for ioremap functions
Several of the ioremap functions use unsigned long in places resulting in truncation if physical addresses greater than 4G are passed in. Change the types of the functions and the callers accordingly. Cc: Krzysztof Halasa <khc@pm.waw.pl> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-msm/io.c')
-rw-r--r--arch/arm/mach-msm/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/io.c b/arch/arm/mach-msm/io.c
index 123ef9cbce1b..fd65b6d42cde 100644
--- a/arch/arm/mach-msm/io.c
+++ b/arch/arm/mach-msm/io.c
@@ -172,7 +172,7 @@ void __init msm_map_msm7x30_io(void)
}
#endif /* CONFIG_ARCH_MSM7X30 */
-void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
+void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
unsigned int mtype, void *caller)
{
if (mtype == MT_DEVICE) {