OSDN Git Service

powerpc/hugetlbpage: Rmove unhelpful HUGEPD_*_SHIFT macros
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 17 Jul 2018 04:24:30 +0000 (14:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Jul 2018 04:38:46 +0000 (14:38 +1000)
commitfdf743c5c51d5b45db4dada39109549d2e49eb62
treefb7a442d5d6e812e6d5dbccf34be7ba15e36c042
parenta8bf9e504a6a2bb058b4f020d4ccc54b4157eb4a
powerpc/hugetlbpage: Rmove unhelpful HUGEPD_*_SHIFT macros

The HUGEPD_*_SHIFT macros are always defined to be PGDIR_SHIFT and
PUD_SHIFT, and have to have those values to work properly.  They once used
to have different values, but that was really only because they were used
to mean different things in different contexts.

6fa50483 "powerpc/mm/hugetlb: initialize the pagetable cache correctly for
hugetlb" removed that double meaning, but left the now useless constants.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hugetlbpage.c