diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2012-10-10 11:45:31 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-10-25 11:22:35 -0400 |
commit | 6cb1b145b912721f7a00f3fb5938765b34558b08 (patch) | |
tree | 208a150411995cc7ae159c31ea8bd8799272bf2b /arch/arm/mach-clps711x/cdb89712.c | |
parent | 36504ac131d14611dded451dd8b9f8426d084111 (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/cdb89712.c')
-rw-r--r-- | arch/arm/mach-clps711x/cdb89712.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-clps711x/cdb89712.c b/arch/arm/mach-clps711x/cdb89712.c index c314f49d6ef6..d90d25c67ac2 100644 --- a/arch/arm/mach-clps711x/cdb89712.c +++ b/arch/arm/mach-clps711x/cdb89712.c | |||
@@ -40,8 +40,8 @@ | |||
40 | */ | 40 | */ |
41 | static struct map_desc cdb89712_io_desc[] __initdata = { | 41 | static struct map_desc cdb89712_io_desc[] __initdata = { |
42 | { | 42 | { |
43 | .virtual = ETHER_BASE, | 43 | .virtual = IO_ADDRESS(ETHER_PHYS_BASE), |
44 | .pfn =__phys_to_pfn(ETHER_START), | 44 | .pfn = __phys_to_pfn(ETHER_PHYS_BASE), |
45 | .length = ETHER_SIZE, | 45 | .length = ETHER_SIZE, |
46 | .type = MT_DEVICE | 46 | .type = MT_DEVICE |
47 | } | 47 | } |