diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2012-10-10 17:45:31 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-10-25 17:22:35 +0200 |
commit | 6cb1b145b912721f7a00f3fb5938765b34558b08 (patch) | |
tree | 208a150411995cc7ae159c31ea8bd8799272bf2b /arch/arm/mach-clps711x/cdb89712.c | |
parent | ARM: clps711x: added missing definitions (diff) | |
download | linux-6cb1b145b912721f7a00f3fb5938765b34558b08.tar.xz linux-6cb1b145b912721f7a00f3fb5938765b34558b08.zip |
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 @@ */ static struct map_desc cdb89712_io_desc[] __initdata = { { - .virtual = ETHER_BASE, - .pfn =__phys_to_pfn(ETHER_START), + .virtual = IO_ADDRESS(ETHER_PHYS_BASE), + .pfn = __phys_to_pfn(ETHER_PHYS_BASE), .length = ETHER_SIZE, .type = MT_DEVICE } |