summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2014-09-02 08:35:08 +0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-09-25 17:14:51 +0400
commitcf87c3f6b64791ce5d4c7e591c915065d31a162d (patch)
tree3ca06fa36c998b21a839690cf1ac73ece11d9f03 /arch/powerpc/include
parentbe96f63375a14ee8e690856ac77e579c75bd0bae (diff)
downloadlinux-cf87c3f6b64791ce5d4c7e591c915065d31a162d.tar.xz
powerpc: Emulate icbi, mcrf and conditional-trap instructions
This extends the instruction emulation done by analyse_instr() and emulate_step() to handle a few more instructions that are found in the kernel. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/sstep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/sstep.h b/arch/powerpc/include/asm/sstep.h
index 1a693b13ddc5..d3a42cc45a82 100644
--- a/arch/powerpc/include/asm/sstep.h
+++ b/arch/powerpc/include/asm/sstep.h
@@ -66,6 +66,7 @@ enum instruction_type {
#define DCBF 0x100
#define DCBTST 0x200
#define DCBT 0x300
+#define ICBI 0x400
/* Size field in type word */
#define SIZE(n) ((n) << 8)