powerpc/8xx: Use patch_site for memory setup patching
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 19 Oct 2018 06:55:06 +0000 (06:55 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Oct 2018 10:58:58 +0000 (21:58 +1100)
commit1a210878bf21de3f60646c13001d04bd4f57dfe1
tree66377d247a8c80ee63d8ebb723ced174ebe2de8e
parent082e2869fc022de4db9977e06558da78384ea98c
powerpc/8xx: Use patch_site for memory setup patching

The 8xx TLB miss routines are patched at startup at several places.

This patch uses the new patch_site functionality in order
to get a better code readability and avoid a label mess when
dumping the code with 'objdump -d'

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/mmu-8xx.h
arch/powerpc/kernel/head_8xx.S
arch/powerpc/mm/8xx_mmu.c