summaryrefslogtreecommitdiff
path: root/arch/mips/kvm/interrupt.c
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2016-06-09 14:19:08 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-14 11:02:41 +0200
commit8cffd197485122632103a12fdada911242e7c01e (patch)
tree8d25180c51674ea9a5100031577cedaf4074f132 /arch/mips/kvm/interrupt.c
parentbdb7ed8608f8f1944414abaffdecf3c997dfc41e (diff)
downloadlwn-8cffd197485122632103a12fdada911242e7c01e.tar.gz
lwn-8cffd197485122632103a12fdada911242e7c01e.zip
MIPS: KVM: Convert code to kernel sized types
Convert the MIPS KVM C code to use standard kernel sized types (e.g. u32) instead of inttypes.h style ones (e.g. uint32_t) or other types as appropriate. 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>
Diffstat (limited to 'arch/mips/kvm/interrupt.c')
-rw-r--r--arch/mips/kvm/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kvm/interrupt.c b/arch/mips/kvm/interrupt.c
index 49ce83237fc3..ad28dac6b7e9 100644
--- a/arch/mips/kvm/interrupt.c
+++ b/arch/mips/kvm/interrupt.c
@@ -117,7 +117,7 @@ int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority,
u32 cause)
{
int allowed = 0;
- uint32_t exccode;
+ u32 exccode;
struct kvm_vcpu_arch *arch = &vcpu->arch;
struct mips_coproc *cop0 = vcpu->arch.cop0;