MIPS: KVM: Fix kvm_debug bit-rottage
authorJames Hogan <james.hogan@imgtec.com>
Thu, 29 May 2014 09:16:41 +0000 (10:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 May 2014 11:05:20 +0000 (13:05 +0200)
commit3d654833713ddb0464cbaee14fe75ef1e4e2ded0
tree4015664df9a1044b08f7443523d24d9b9a597f0e
parent2dca3725cbe0bc5aeb195e7c098bcebae5d40f83
MIPS: KVM: Fix kvm_debug bit-rottage

Fix build errors when DEBUG is defined in arch/mips/kvm/.
 - The DEBUG code in kvm_mips_handle_tlbmod() was missing some variables.
 - The DEBUG code in kvm_mips_host_tlb_write() was conditional on an
   undefined "debug" variable.
 - The DEBUG code in kvm_mips_host_tlb_inv() accessed asid_map directly
   rather than using kvm_mips_get_user_asid(). Also fixed brace
   placement.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: kvm@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: Sanjay Lal <sanjayl@kymasys.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/kvm_mips_emul.c
arch/mips/kvm/kvm_tlb.c
This page took 0.026668 seconds and 5 git commands to generate.