MIPS: KVM: Make various Cause variables 32-bit
authorJames Hogan <james.hogan@imgtec.com>
Thu, 9 Jun 2016 13:19:09 +0000 (14:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 09:02:41 +0000 (11:02 +0200)
commit31cf7498545c36cc992887bd6af17a496f26f681
treecbda098d019d722b81870dab844ac36f74ba340c
parent8cffd197485122632103a12fdada911242e7c01e
MIPS: KVM: Make various Cause variables 32-bit

The CP0 Cause register is passed around in KVM quite a bit, often as an
unsigned long, even though it is always 32-bits long.

Resize it to u32 throughout MIPS KVM.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
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/emulate.c
arch/mips/kvm/locore.S
arch/mips/kvm/trap_emul.c