]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: mips: Use kvm_get_vcpu() instead of open-coded access
authorMarc Zyngier <maz@kernel.org>
Tue, 16 Nov 2021 16:03:58 +0000 (16:03 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:24:13 +0000 (04:24 -0500)
commit8f58de473bc6923f8c6706b9893c11ab1732eb9c
tree008e1ae559279bfb870f9eb1814f02d511bc660a
parentf1f610d7fc0c9cc4e21a6fded601e18416bdfb2c
KVM: mips: Use kvm_get_vcpu() instead of open-coded access

As we are about to change the way vcpus are allocated, mandate
the use of kvm_get_vcpu() instead of open-coding the access.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Message-Id: <20211116160403.4074052-3-maz@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/loongson_ipi.c
arch/mips/kvm/mips.c