mm/debug_vm_pgtables/hugevmap: use the arch helper to identify huge vmap support.
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Fri, 16 Oct 2020 03:04:36 +0000 (20:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Oct 2020 18:11:14 +0000 (11:11 -0700)
commit85a144632dcc71f96dcb9172a15d6f71161144d2
tree52cdd19cab62150c6694cb0e2a87da509df9c07d
parentcfc5bbc4e75da4e341b86822c3c8ab1f4d804de5
mm/debug_vm_pgtables/hugevmap: use the arch helper to identify huge vmap support.

ppc64 supports huge vmap only with radix translation.  Hence use arch
helper to determine the huge vmap support.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lkml.kernel.org/r/20200902114222.181353-5-aneesh.kumar@linux.ibm.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/debug_vm_pgtable.c