diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-12-16 18:49:38 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-23 21:31:17 -0500 |
commit | b2c5963577efdaef7bf2445c06e8048926c472a5 (patch) | |
tree | 98b4e7eeb661958501e3a39bccf52f50d7c1785d /arch/mips/include/uapi/asm/inst.h | |
parent | f4956f620d065d8fa4d7a890cad548549e0b91ea (diff) |
MIPS: Move KVM specific opcodes into asm/inst.h
The header arch/mips/kvm/opcode.h defines a few extra opcodes which
aren't in arch/mips/include/uapi/asm/inst.h. There's nothing KVM
specific about them, so lets move them into inst.h where they belong and
delete the header.
Note that mfmcz_op is renamed to mfmc0_op to match the instruction set
manual, and wait_op was already added to inst.h in commit b0a3eae2b943
("MIPS: inst.h: define COP0 wait op"), merged in v3.16-rc1.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11895/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/uapi/asm/inst.h')
-rw-r--r-- | arch/mips/include/uapi/asm/inst.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h index f5364e96554a..ddea53e3a9bb 100644 --- a/arch/mips/include/uapi/asm/inst.h +++ b/arch/mips/include/uapi/asm/inst.h | |||
@@ -116,7 +116,8 @@ enum cop_op { | |||
116 | dmtc_op = 0x05, ctc_op = 0x06, | 116 | dmtc_op = 0x05, ctc_op = 0x06, |
117 | mthc0_op = 0x06, mthc_op = 0x07, | 117 | mthc0_op = 0x06, mthc_op = 0x07, |
118 | bc_op = 0x08, bc1eqz_op = 0x09, | 118 | bc_op = 0x08, bc1eqz_op = 0x09, |
119 | bc1nez_op = 0x0d, cop_op = 0x10, | 119 | mfmc0_op = 0x0b, bc1nez_op = 0x0d, |
120 | wrpgpr_op = 0x0e, cop_op = 0x10, | ||
120 | copm_op = 0x18 | 121 | copm_op = 0x18 |
121 | }; | 122 | }; |
122 | 123 | ||