]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Remove checks that TASK_SIZE_USER64 is too small
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 22 Mar 2017 03:36:50 +0000 (09:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Mar 2017 12:09:55 +0000 (23:09 +1100)
commit6785784f1236f192b04268cfbd2019e2b62ce5e6
tree72f50e759d4e5761ce35c73ad6e1db1a5223b18b
parent74f09b426c957c6504cc14aa1920b5e718b216df
powerpc/mm: Remove checks that TASK_SIZE_USER64 is too small

Remove the checks that TASK_SIZE_USER64 is smaller than H_PGTABLE_RANGE
and USER_VSID_RANGE.

In a following patch we will deliberately add support for a TASK_SIZE
smaller than both ranges, so this will no longer be an error condition.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
[mpe: Keep the check in pgtable_64.c that we don't exceed USER_VSID_RANGE]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/init_64.c