powerpc/32s: Inline tlb_flush()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 22 Oct 2020 06:29:39 +0000 (06:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Dec 2020 05:46:56 +0000 (16:46 +1100)
commitef08d95546ccea540f6a592b89822bb085bf09c6
tree266f93af3e4d9998c85d2728013b3736fe2d9b72
parent91ec450f8d8c1e599a943c526ab1d2a4acf73c22
powerpc/32s: Inline tlb_flush()

On book3s/32, tlb_flush() does nothing when the CPU has a hash table,
it calls _tlbia() otherwise.

Inline it.

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