From: Rob Herring Date: Fri, 30 Sep 2011 00:46:18 +0000 (-0500) Subject: ARM: realview-eb11mp: fix map_desc alignment X-Git-Tag: v3.3-rc1~18^2~3^2~2^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e28c800440d80ede7edb21dbde61f6522d6536b;p=platform%2Fkernel%2Flinux-exynos.git ARM: realview-eb11mp: fix map_desc alignment REALVIEW_EB11MP_GIC_CPU_BASE is not 4KB aligned which causes an overlapping mapping. Use REALVIEW_EB11MP_SCU_BASE instead which is aligned. Signed-off-by: Rob Herring Signed-off-by: Nicolas Pitre --- diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index 026c66a..a9874e1 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c @@ -91,8 +91,8 @@ static struct map_desc realview_eb_io_desc[] __initdata = { static struct map_desc realview_eb11mp_io_desc[] __initdata = { { - .virtual = IO_ADDRESS(REALVIEW_EB11MP_GIC_CPU_BASE), - .pfn = __phys_to_pfn(REALVIEW_EB11MP_GIC_CPU_BASE), + .virtual = IO_ADDRESS(REALVIEW_EB11MP_SCU_BASE), + .pfn = __phys_to_pfn(REALVIEW_EB11MP_SCU_BASE), .length = SZ_4K, .type = MT_DEVICE, }, {