]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68a29feb24032e95cfc41240f1a407d732e3fd35
tree818ba7d2e1cbfe96096f8f8c12dbe4d0f12a40e5
parent35625c8c9919664b1a4fe07072060b02c75b68dd
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