KVM: MIPS: Convert get/set_regs -> vcpu_load/put
authorJames Hogan <james.hogan@imgtec.com>
Sat, 12 Nov 2016 00:00:13 +0000 (00:00 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:20:44 +0000 (15:20 +0000)
commita60b8438bdba4a4b77c90b6c1b22804150b4f244
tree2d1e1806a092903595e7ed86439eb0b843c769b3
parent1534b3964901ff55465a9f582838204193354966
KVM: MIPS: Convert get/set_regs -> vcpu_load/put

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: James 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
arch/mips/include/asm/kvm_host.h
arch/mips/kvm/mmu.c
arch/mips/kvm/trap_emul.c