summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-09-29 19:46:18 -0500
committerNicolas Pitre <nico@fluxnic.net>2011-11-18 13:51:19 -0500
commit3e28c800440d80ede7edb21dbde61f6522d6536b (patch)
tree2a05c8b782032d05ee965d1f4a84695d91021a39 /arch/arm/mach-realview
parent9ceceb652a0f1e5f45cb6c8af09267e7db875d7b (diff)
downloadlinux-3e28c800440d80ede7edb21dbde61f6522d6536b.tar.gz
linux-3e28c800440d80ede7edb21dbde61f6522d6536b.tar.bz2
linux-3e28c800440d80ede7edb21dbde61f6522d6536b.zip
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 <rob.herring@calxeda.com> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r--arch/arm/mach-realview/realview_eb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
index 026c66ad7ec2..a9874e176f62 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,
}, {