s390/mm: use TASK_MAX_SIZE where applicable
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Mon, 11 Jan 2016 10:47:12 +0000 (11:47 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 19 Jan 2016 11:14:01 +0000 (12:14 +0100)
commita9d7ab97812cf2cf9fd7c980205ae35f58c52cf5
treef49227f42f564a4d435ea5ae989e6f1b645c76cb
parenta200dcb34693084e56496960d855afdeaaf9578f
s390/mm: use TASK_MAX_SIZE where applicable

To improve readability we can use TASK_MAX_SIZE when we just check for the
upper limit.  All places explicitly dealing with 3 vs 4 level pgtables
were left unchanged.

Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Reviewed-By: Sascha Silbe <silbe@linux.vnet.ibm.com>
arch/s390/mm/mmap.c
arch/s390/mm/pgtable.c