summaryrefslogtreecommitdiff
path: root/arch/arm/mach-prima2
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-09-14 23:14:19 +0400
committerNicolas Pitre <nico@fluxnic.net>2011-11-16 07:30:38 +0400
commit8da54a0b47a0c3f2cbb31e92472d5d3887b620b8 (patch)
tree674808e2d62474e359b731a46243ff8445f2602d /arch/arm/mach-prima2
parent1a4c1c966958ec602c5efd46eb2e53a9cb17f5e4 (diff)
downloadlinux-8da54a0b47a0c3f2cbb31e92472d5d3887b620b8.tar.xz
ARM: mach-prima2: don't define SIRFSOC_VA in terms of VMALLOC_END
... since it is going to change. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Barry Song <baohua.song@csr.com>
Diffstat (limited to 'arch/arm/mach-prima2')
-rw-r--r--arch/arm/mach-prima2/include/mach/map.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-prima2/include/mach/map.h b/arch/arm/mach-prima2/include/mach/map.h
index 66b1ae2e553f..6f243532570c 100644
--- a/arch/arm/mach-prima2/include/mach/map.h
+++ b/arch/arm/mach-prima2/include/mach/map.h
@@ -9,8 +9,10 @@
#ifndef __MACH_PRIMA2_MAP_H__
#define __MACH_PRIMA2_MAP_H__
-#include <mach/vmalloc.h>
+#include <linux/const.h>
-#define SIRFSOC_VA(x) (VMALLOC_END + ((x) & 0x00FFF000))
+#define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
+
+#define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
#endif