powerpc/mm: pmd_devmap implies pmd_large().
commit1ecf2cdc74fc7f79b4b45dd34f89c4a8e6ada96f
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Tue, 14 May 2019 06:03:01 +0000 (14 11:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 4 Jul 2019 14:43:59 +0000 (5 00:43 +1000)
tree60fb5b62a25153a00f45dd8609e9b86ed694603a
parentd6eacedd1f0ebf00bdf1c77715d194f7c1036fd4
powerpc/mm: pmd_devmap implies pmd_large().

large devmap usage is dependent on THP. Hence once check is sufficient.

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