aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDenis Kirjanov <kda@linux-powerpc.org>2015-02-17 10:04:39 +0300
committerDavid S. Miller <davem@davemloft.net>2015-02-20 15:19:43 -0500
commit693930d69c67145dcdf512fe863dbb1095b744b9 (patch)
tree578f609496f5ba414bc554c0957c6b26b17ddc43 /arch/powerpc
parentppc: bpf: add required compatibility macros for jit (diff)
downloadlinux-dev-693930d69c67145dcdf512fe863dbb1095b744b9.tar.xz
linux-dev-693930d69c67145dcdf512fe863dbb1095b744b9.zip
ppc: bpf: add reqired opcodes for ppc32
Signed-off-by: Denis Kirjanov <kda@linux-powerpc.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/ppc-opcode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h
index 03cd858a401c..2eadde0b98fb 100644
--- a/arch/powerpc/include/asm/ppc-opcode.h
+++ b/arch/powerpc/include/asm/ppc-opcode.h
@@ -212,6 +212,8 @@
#define PPC_INST_LWZ 0x80000000
#define PPC_INST_STD 0xf8000000
#define PPC_INST_STDU 0xf8000001
+#define PPC_INST_STW 0x90000000
+#define PPC_INST_STWU 0x94000000
#define PPC_INST_MFLR 0x7c0802a6
#define PPC_INST_MTLR 0x7c0803a6
#define PPC_INST_CMPWI 0x2c000000