• James Hogan's avatar
    KVM: MIPS: Convert get/set_regs -> vcpu_load/put · a60b8438
    James Hogan authored
    Convert the get_regs() and set_regs() callbacks to vcpu_load() and
    vcpu_put(), which provide a cpu argument and more closely match the
    kvm_arch_vcpu_load() / kvm_arch_vcpu_put() that they are called by.
    
    This is in preparation for moving ASID management into the
    implementations.
    Signed-off-by: default avatarJames 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
    a60b8438
trap_emul.c 18.6 KB