summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shark
diff options
context:
space:
mode:
authorNicolas Pitre <nico@fluxnic.net>2010-09-23 22:52:40 +0200
committerNicolas Pitre <nicolas.pitre@linaro.org>2010-10-02 04:28:19 +0200
commit7c63984b86f96c71c541132c74c4b56fe2a13e1a (patch)
tree83a237da014dff398023d70fc7dcf323c84abbec /arch/arm/mach-shark
parentARM: mxc: turn off HWCAP_NEON for older versions of imx51 silicon (diff)
downloadlinux-7c63984b86f96c71c541132c74c4b56fe2a13e1a.tar.xz
linux-7c63984b86f96c71c541132c74c4b56fe2a13e1a.zip
ARM: do not define VMALLOC_END relative to PAGE_OFFSET
VMALLOC_END is supposed to be an absolute value, while PAGE_OFFSET may vary depending on the selected user:kernel memory split mode through CONFIG_VMSPLIT_*. In fact, the goal of moving PAGE_OFFSET down is to accommodate more directly addressed RAM by the kernel below the vmalloc area, and having VMALLOC_END move along PAGE_OFFSET is rather against the very reason why PAGE_OFFSET can be moved in the first place. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to 'arch/arm/mach-shark')
-rw-r--r--arch/arm/mach-shark/include/mach/vmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shark/include/mach/vmalloc.h b/arch/arm/mach-shark/include/mach/vmalloc.h
index f6c6837c5451..8e845b6a7cb5 100644
--- a/arch/arm/mach-shark/include/mach/vmalloc.h
+++ b/arch/arm/mach-shark/include/mach/vmalloc.h
@@ -1,4 +1,4 @@
/*
* arch/arm/mach-shark/include/mach/vmalloc.h
*/
-#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
+#define VMALLOC_END 0xd0000000