OSDN Git Service

powerpc/mem: Move cache flushing functions into mm/cacheflush.c
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 8 Apr 2021 15:30:24 +0000 (15:30 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:17 +0000 (23:04 +1000)
commitb26e8f27253a47bff90972b987112fd8396e9b8d
tree46c55c49ba281a3b8a08e1112a0da560a0ae90a0
parentff0b4155ae9903539d1299a9a4c8717fb7eb6009
powerpc/mem: Move cache flushing functions into mm/cacheflush.c

Cache flushing functions are in the middle of completely
unrelated stuff in mm/mem.c

Create a dedicated mm/cacheflush.c for those functions.

Also cleanup the list of included headers.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/7bf6f1600acad146e541a4e220940062f2e5b03d.1617895813.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/Makefile
arch/powerpc/mm/cacheflush.c [new file with mode: 0644]
arch/powerpc/mm/mem.c