powerpc/signal: Use code patching instead of hardcoding
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 9 Nov 2018 17:33:28 +0000 (17:33 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000 (18:56 +1100)
commitd16952a629129ce3f20ff7299de87c4d63b27a30
tree6d128a99da5bf4783fb9c12c53f9f48a15ea09e2
parent002cdfc2c78642deef24a77fab400a7f88781266
powerpc/signal: Use code patching instead of hardcoding

Instead of hardcoding code modifications, use code patching functions.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c