powerpc/mm: Fix vma_mmu_pagesize() for radix
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 29 Apr 2016 13:26:24 +0000 (23:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:53:54 +0000 (21:53 +1000)
commit2f5f0dfd1e5f9840560e85ad26cb4a6f06c19e07
tree7076cb68612b28073ab07c51f8a16580c25777c5
parent5ed7ecd08a0807d6d616c3d958402f9c723bb048
powerpc/mm: Fix vma_mmu_pagesize() for radix

Radix doesn't use the slice framework to find the page size. Hence use
vma to find the page size.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hugetlbpage.c