]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e5d64c5d529c30642b4fbfd37049552c1a727d5
tree46c55c49ba281a3b8a08e1112a0da560a0ae90a0
parent1f0f4c1ab8d2e5bcdf8280fd4754b0edf8f6cb05
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