summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/processor.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-11-22 04:01:07 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-12-06 11:15:25 +0000
commit7dbaa466780a754154531b44c2086f6618cee3a8 (patch)
tree1a1bcb26085949cee19bb5bbcbe05b66c0811d31 /arch/arm/include/asm/processor.h
parentd22759ed5680055fdecbdcf6644dbc8a467ab801 (diff)
ARM: 7169/1: topdown mmap support
Similar to other architectures, this adds topdown mmap support in user process address space allocation policy. This allows mmap sizes greater than 2GB. This support is largely copied from MIPS and the generic implementations. The address space randomization is moved into arch_pick_mmap_layout. Tested on V-Express with ubuntu and a mmap test from here: https://bugs.launchpad.net/bugs/861296 Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/processor.h')
-rw-r--r--arch/arm/include/asm/processor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h
index b2d9df5667af..ce280b8d613c 100644
--- a/arch/arm/include/asm/processor.h
+++ b/arch/arm/include/asm/processor.h
@@ -123,6 +123,8 @@ static inline void prefetch(const void *ptr)
#endif
+#define HAVE_ARCH_PICK_MMAP_LAYOUT
+
#endif
#endif /* __ASM_ARM_PROCESSOR_H */