powerpc: Rewrite FSL_BOOKE flush_cache_instruction() in C
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 14 Aug 2020 05:56:27 +0000 (05:56 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:21 +0000 (11:00 +1000)
commit704dfe931df951895dea98bd1d9cacbb601b6451
treeaca2368fc39811c2e404184d27a76422e4c469fc
parentde39b19452e784de5f90ae899851ab29a29bb42c
powerpc: Rewrite FSL_BOOKE flush_cache_instruction() in C

Nothing prevents flush_cache_instruction() from being writen in C.

Do it to improve readability and maintainability.

This function is only use by low level callers, it is not
intended to be used by module. Don't export 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/f989eff8296800c427622c0985384148404e4f0b.1597384512.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/misc_32.S
arch/powerpc/mm/nohash/fsl_booke.c