]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: refactor pgd_alloc() and pgd_free() on nohash
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 26 Apr 2019 15:58:13 +0000 (15:58 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:25 +0000 (01:20 +1000)
commitb99dd6c9cb5b5c5d3a9baaca9498aa3b9580bf39
tree860c520ae0256450034bc7b1d8272301cb7fd271
parentc3a2ac63da375016408d4fa3547cc56457d63d80
powerpc/mm: refactor pgd_alloc() and pgd_free() on nohash

pgd_alloc() and pgd_free() are identical on nohash 32 and 64.

Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/nohash/32/pgalloc.h
arch/powerpc/include/asm/nohash/64/pgalloc.h
arch/powerpc/include/asm/nohash/pgalloc.h