]> 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)
commit745658122825372a30e4d10bd0d6c395a39e91c3
tree7cbffa9375257d9992796685a5abbb39da639286
parent9cef349548d4a892d542425cae55a840e45bf4cf
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