ARM: 7169/1: topdown mmap support
commit7dbaa466780a754154531b44c2086f6618cee3a8
authorRob Herring <rob.herring@calxeda.com>
Tue, 22 Nov 2011 03:01:07 +0000 (22 04:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Dec 2011 11:15:25 +0000 (6 11:15 +0000)
tree1a1bcb26085949cee19bb5bbcbe05b66c0811d31
parentd22759ed5680055fdecbdcf6644dbc8a467ab801
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>
arch/arm/include/asm/pgtable.h
arch/arm/include/asm/processor.h
arch/arm/mm/mmap.c