MIPS: KVM: Use mipsregs.h defs for config registers
authorJames Hogan <james.hogan@imgtec.com>
Wed, 15 Jun 2016 18:30:01 +0000 (19:30 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2016 21:58:43 +0000 (23:58 +0200)
commit4e10b764e2cba8d8eb5e22d9d8061806ec86805c
tree4d6229e206c5611cd80bcf118d821e7055a6059b
parente342925f1777f73befda61b48845b0bc88a33181
MIPS: KVM: Use mipsregs.h defs for config registers

Convert MIPS KVM guest register state initialisation to use the standard
<asm/mipsregs.h> register field definitions for Config registers, and
drop the custom definitions in kvm_host.h which it was using before.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/trap_emul.c