diff options
| -rw-r--r-- | arch/powerpc/include/asm/ppc-opcode.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h index 0fd1928efb93..8752bc8e34a3 100644 --- a/arch/powerpc/include/asm/ppc-opcode.h +++ b/arch/powerpc/include/asm/ppc-opcode.h | |||
| @@ -129,6 +129,9 @@ | |||
| 129 | #define PPC_INST_TLBSRX_DOT 0x7c0006a5 | 129 | #define PPC_INST_TLBSRX_DOT 0x7c0006a5 |
| 130 | #define PPC_INST_XXLOR 0xf0000510 | 130 | #define PPC_INST_XXLOR 0xf0000510 |
| 131 | #define PPC_INST_XVCPSGNDP 0xf0000780 | 131 | #define PPC_INST_XVCPSGNDP 0xf0000780 |
| 132 | #define PPC_INST_TRECHKPT 0x7c0007dd | ||
| 133 | #define PPC_INST_TRECLAIM 0x7c00075d | ||
| 134 | #define PPC_INST_TABORT 0x7c00071d | ||
| 132 | 135 | ||
| 133 | #define PPC_INST_NAP 0x4c000364 | 136 | #define PPC_INST_NAP 0x4c000364 |
| 134 | #define PPC_INST_SLEEP 0x4c0003a4 | 137 | #define PPC_INST_SLEEP 0x4c0003a4 |
| @@ -294,4 +297,11 @@ | |||
| 294 | #define PPC_NAP stringify_in_c(.long PPC_INST_NAP) | 297 | #define PPC_NAP stringify_in_c(.long PPC_INST_NAP) |
| 295 | #define PPC_SLEEP stringify_in_c(.long PPC_INST_SLEEP) | 298 | #define PPC_SLEEP stringify_in_c(.long PPC_INST_SLEEP) |
| 296 | 299 | ||
| 300 | /* Transactional memory instructions */ | ||
| 301 | #define TRECHKPT stringify_in_c(.long PPC_INST_TRECHKPT) | ||
| 302 | #define TRECLAIM(r) stringify_in_c(.long PPC_INST_TRECLAIM \ | ||
| 303 | | __PPC_RA(r)) | ||
| 304 | #define TABORT(r) stringify_in_c(.long PPC_INST_TABORT \ | ||
| 305 | | __PPC_RA(r)) | ||
| 306 | |||
| 297 | #endif /* _ASM_POWERPC_PPC_OPCODE_H */ | 307 | #endif /* _ASM_POWERPC_PPC_OPCODE_H */ |
