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 b0a3eae2b9
("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>
This commit is contained in:
committed by
Ralf Baechle
parent
f4956f620d
commit
b2c5963577
@ -116,7 +116,8 @@ enum cop_op {
|
||||
dmtc_op = 0x05, ctc_op = 0x06,
|
||||
mthc0_op = 0x06, mthc_op = 0x07,
|
||||
bc_op = 0x08, bc1eqz_op = 0x09,
|
||||
bc1nez_op = 0x0d, cop_op = 0x10,
|
||||
mfmc0_op = 0x0b, bc1nez_op = 0x0d,
|
||||
wrpgpr_op = 0x0e, cop_op = 0x10,
|
||||
copm_op = 0x18
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user