]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mem: Remove address argument to flush_coherent_icache()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 8 Apr 2021 15:30:27 +0000 (15:30 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:18 +0000 (23:04 +1000)
commit0fc5c1587765d97a047c4c3428cd9023ef5584c9
tree79544090e83c6dba48f803f952d5a047b3e7a569
parentdf6dc5b38fd37607bdfd378e53a3a3abf5cce35e
powerpc/mem: Remove address argument to flush_coherent_icache()

flush_coherent_icache() can use any valid address as mentionned
by the comment.

Use PAGE_OFFSET as base address. This allows removing the
user access stuff.

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