powerpc/8xx: Use patch_site for perf counters setup
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 19 Oct 2018 06:55:08 +0000 (06:55 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Oct 2018 10:58:58 +0000 (21:58 +1100)
commit709cf19c5749308603ffa12557d8bd152a926783
treebbb6088833a288d6fc6d72d669f9ae1dcee50dc2
parent1a210878bf21de3f60646c13001d04bd4f57dfe1
powerpc/8xx: Use patch_site for perf counters setup

The 8xx TLB miss routines are patched when (de)activating
perf counters.

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/perf/8xx-pmu.c