• James Hogan's avatar
    MIPS: KVM: Fix kvm_debug bit-rottage · 3d654833
    James Hogan authored
    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: default avatarJames 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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    3d654833
kvm_mips_emul.c 61.2 KB