powerpc/book3s: Remove pgd/pud/pmd_set() interfaces
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Thu, 14 Feb 2019 06:45:40 +0000 (12:15 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:15 +0000 (00:10 +1100)
commitc746ca00f5eac6224eda02f39ebdc48fabfad3c5
tree818ba7d2e1cbfe96096f8f8c12dbe4d0f12a40e5
parentfe1ef6bcdb4fca33434256a802a3ed6aacf0bd2f
powerpc/book3s: Remove pgd/pud/pmd_set() interfaces

When updating page tables, we need to make sure we fill the page table
entry valid bits. We do this by or'ing in one of PGD/PUD/PMD_VAL_BITS.

The page table 'set' interfaces allow updating the raw value of page
table entries without setting the valid bits, so remove those
interfaces to avoid incorrect usage in future.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
[mpe: Reword commit message based on mailing list discussion]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/pgalloc.h
arch/powerpc/include/asm/book3s/64/pgtable.h