OSDN Git Service

powerpc/mem: Declare __flush_dcache_icache() static
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 8 Apr 2021 15:30:26 +0000 (15:30 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:18 +0000 (23:04 +1000)
commitbf26e0bbd2f82b52605cd7c880245eefe67e09f3
treeb662e2020576bb117bfa266b869e1ea752719e31
parentb26e8f27253a47bff90972b987112fd8396e9b8d
powerpc/mem: Declare __flush_dcache_icache() static

__flush_dcache_icache() is only used in mem.c.

Move it before the functions that use it and declare it static.

And also fix the name of the parameter in the comment.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/3fa903eb5a10b2bc7d99a8c559ffdaa05452d8e0.1617895813.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/cacheflush.h
arch/powerpc/mm/cacheflush.c