diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-11-09 17:33:28 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-12-19 18:56:32 +1100 |
commit | d16952a629129ce3f20ff7299de87c4d63b27a30 (patch) | |
tree | 6d128a99da5bf4783fb9c12c53f9f48a15ea09e2 /arch/powerpc/include/asm | |
parent | 002cdfc2c78642deef24a77fab400a7f88781266 (diff) | |
download | talos-op-linux-d16952a629129ce3f20ff7299de87c4d63b27a30.tar.gz talos-op-linux-d16952a629129ce3f20ff7299de87c4d63b27a30.zip |
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>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/ppc-opcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index a6e9e314c707..7f693e0f7499 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h @@ -257,6 +257,7 @@ #define PPC_INST_MTSPR_DSCR_USER_MASK 0xfc1ffffe #define PPC_INST_MFVSRD 0x7c000066 #define PPC_INST_MTVSRD 0x7c000166 +#define PPC_INST_SC 0x44000002 #define PPC_INST_SLBFEE 0x7c0007a7 #define PPC_INST_SLBIA 0x7c0003e4 |