]> 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)
commit1316d927a6f15d5de9e20c1801957d8ad4c1d2a8
tree310faa645938eb46b46b24922bea26d283007eb3
parent60c3328a19b5979e1c82e42e6458af0e81ca978b
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