]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mem: Use kmap_local_page() in flushing functions
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 8 Apr 2021 15:30:33 +0000 (15:30 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:19 +0000 (23:04 +1000)
commit94321ca03fb4ab66fd36ce79436c0ad596a0e12d
tree7cbffa9375257d9992796685a5abbb39da639286
parent878736ed18836cf7e1ca272cc4bec5dab2ab32fd
powerpc/mem: Use kmap_local_page() in flushing functions

Flushing functions don't rely on preemption being disabled, so
use kmap_local_page() instead of kmap_atomic().

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