powerpc/mm/64s/hash: Factor out change_memory_range()
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 31 Mar 2021 00:38:43 +0000 (11:38 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Apr 2021 11:17:43 +0000 (21:17 +1000)
commit6f223ebe9c3f3ed315a06cec156086f1f7f7ded1
treed9fa9af5fa6a2820689a9db25ce9a8a211fa62e2
parent2c02e656a29d5f64193eb93da92781bcf0517146
powerpc/mm/64s/hash: Factor out change_memory_range()

Pull the loop calling hpte_updateboltedpp() out of
hash__change_memory_range() into a helper function. We need it to be a
separate function for the next patch.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210331003845.216246-4-mpe@ellerman.id.au
arch/powerpc/mm/book3s64/hash_pgtable.c