MIPS: Move KVM specific opcodes into asm/inst.h
authorJames Hogan <james.hogan@imgtec.com>
Wed, 16 Dec 2015 23:49:38 +0000 (23:49 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 24 Jan 2016 02:31:17 +0000 (03:31 +0100)
commitb2c5963577efdaef7bf2445c06e8048926c472a5
tree98b4e7eeb661958501e3a39bccf52f50d7c1785d
parentf4956f620d065d8fa4d7a890cad548549e0b91ea
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>
arch/mips/include/uapi/asm/inst.h
arch/mips/kvm/emulate.c
arch/mips/kvm/opcode.h [deleted file]
arch/mips/kvm/trap_emul.c