s390/mm: simplify arch_get_unmapped_area[_topdown]
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 24 Apr 2017 16:14:48 +0000 (18:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 25 Apr 2017 12:08:19 +0000 (14:08 +0200)
commit9b11c7912d00d0e5fe0d7f8973b77dac4f69d3df
tree6bb75184eb060764ce541da98adcc405af04352f
parentee71d16d22bb268c1f6a64ef6d3654ace5f1e8c7
s390/mm: simplify arch_get_unmapped_area[_topdown]

With TASK_SIZE now reflecting the maximum size of the address space for
a process the code for arch_get_unmapped_area[_topdown] can be simplified.
Just let the logic pick a suitable address and deal with the page table
upgrade after the address has been selected.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/mmap.c