]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
powerpc/32s: Inline flush_hash_entry()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 22 Oct 2020 06:29:40 +0000 (06:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Dec 2020 05:46:56 +0000 (16:46 +1100)
commit80007a17fc59bc2766f7d5cb2f79b4c65651504b
tree3b65f8b47aa2d48d6123415deac3718b1784a9e1
parentef08d95546ccea540f6a592b89822bb085bf09c6
powerpc/32s: Inline flush_hash_entry()

flush_hash_entry() is a simple function calling
flush_hash_pages() if it's a hash MMU or doing nothing otherwise.

Inline it.

And use it also in __ptep_test_and_clear_young().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9af895be7d4b404d40e749a2659552fd138e62c4.1603348103.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/book3s/32/pgtable.h
arch/powerpc/include/asm/tlb.h
arch/powerpc/mm/book3s32/tlb.c