aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-clps711x/common.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-10-10 11:45:31 -0400
committerArnd Bergmann <arnd@arndb.de>2012-10-25 11:22:35 -0400
commit6cb1b145b912721f7a00f3fb5938765b34558b08 (patch)
tree208a150411995cc7ae159c31ea8bd8799272bf2b /arch/arm/mach-clps711x/common.c
parent36504ac131d14611dded451dd8b9f8426d084111 (diff)
ARM: clps711x: make all virtual addresses definition via one macro
This patch make all virtual addresses definition via one macro. This modification allows to avoid warning "BUG: mapping for 0x80000000 at 0xff000000 out of vmalloc space". Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-clps711x/common.c')
-rw-r--r--arch/arm/mach-clps711x/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-clps711x/common.c b/arch/arm/mach-clps711x/common.c
index 47fb496ceae7..286d6e6d5f5a 100644
--- a/arch/arm/mach-clps711x/common.c
+++ b/arch/arm/mach-clps711x/common.c
@@ -45,7 +45,7 @@ static struct map_desc clps711x_io_desc[] __initdata = {
45 { 45 {
46 .virtual = (unsigned long)CLPS711X_VIRT_BASE, 46 .virtual = (unsigned long)CLPS711X_VIRT_BASE,
47 .pfn = __phys_to_pfn(CLPS711X_PHYS_BASE), 47 .pfn = __phys_to_pfn(CLPS711X_PHYS_BASE),
48 .length = SZ_1M, 48 .length = SZ_64K,
49 .type = MT_DEVICE 49 .type = MT_DEVICE
50 } 50 }
51}; 51};