]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Use pmd_lockptr instead of opencoding it
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 16 Apr 2018 11:27:16 +0000 (16:57 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 May 2018 12:29:09 +0000 (22:29 +1000)
commitd3b08c54c9aa4cb1def7f4ab71c7cfa7bbed0fea
tree310faa645938eb46b46b24922bea26d283007eb3
parent74ec716b2df74996f16caed1b8ed6883a65a9738
powerpc/mm: Use pmd_lockptr instead of opencoding it

In later patch we switch pmd_lock from mm->page_table_lock to split pmd ptlock.
It avoid compilations issues, use pmd_lockptr helper.

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