[linux-yocto] [PATCH 87/89] arm/mach-axxia: The offset was not being passed to __arm_ioremap_pfn!
Paul Butler
butler.paul at gmail.com
Sun Oct 27 12:48:24 PDT 2013
From: John Jacques <john.jacques at lsi.com>
Signed-off-by: John Jacques <john.jacques at lsi.com>
---
arch/arm/mach-axxia/io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-axxia/io.c b/arch/arm/mach-axxia/io.c
index 2fff1b7..bf473f9 100644
--- a/arch/arm/mach-axxia/io.c
+++ b/arch/arm/mach-axxia/io.c
@@ -35,6 +35,6 @@ __axxia_arch_ioremap(phys_addr_t physical_address, size_t size,
pfn = (unsigned long)((physical_address >> PAGE_SHIFT) & 0xffffffffULL);
offset = (unsigned long)(physical_address & (PAGE_SIZE - 1));
- return __arm_ioremap_pfn(pfn, 0, size, flags);
+ return __arm_ioremap_pfn(pfn, offset, size, flags);
}
EXPORT_SYMBOL(__axxia_arch_ioremap);
--
1.8.3.4
More information about the linux-yocto
mailing list