]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/book3s64/mm: Simplify the rcu callback for page table free
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 16 Apr 2018 11:27:21 +0000 (16:57 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 May 2018 12:29:11 +0000 (22:29 +1000)
commitacb6d0f6e9ced67207dccab2056d1b6b88ec8a8d
tree18881852d576c31cae695f1e40c4a0d3b3688c52
parentd2ace1a11989a11a15696f769da01ab523c3a581
powerpc/book3s64/mm: Simplify the rcu callback for page table free

Instead of encoding shift in the table address, use an enumerated index value.
This allow us to do different things in the callback for pte and pmd.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
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
arch/powerpc/mm/pgtable-book3s64.c