]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38a2289245c647213a1a82b988a23e70da3744ff
tree6d128a99da5bf4783fb9c12c53f9f48a15ea09e2
parent2664a4f4c0e9b417a18d30bdbaf02611c0a55517
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