powerpc/book3s/32: Use patch_site to patch hash functions
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 9 Nov 2018 17:33:24 +0000 (17:33 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000 (18:56 +1100)
commit9efc74ff52952c854f4a1a3c1bc8cd82df6b9c9e
tree7de82b035e66b51c8a6a6049c300db2e78e44e1c
parent4a3a224c5ae31fc9dc86bc9d8011f6bdc0e0c48d
powerpc/book3s/32: Use patch_site to patch hash functions

Use patch_sites and the new modify_instruction_site() function
instead of hardcoding hash functions patching.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/32/mmu-hash.h
arch/powerpc/mm/hash_low_32.S
arch/powerpc/mm/ppc_mmu_32.c