]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: KVM: Get rid of old vcpu_reg()
authorPavel Fedin <p.fedin@samsung.com>
Fri, 4 Dec 2015 12:03:14 +0000 (15:03 +0300)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 4 Dec 2015 16:30:03 +0000 (16:30 +0000)
commit0b08058b179288ad9531c1919abb07b56998decc
tree4c26dc5d7a5498e4728725ccfc4fb7b0f1a1c953
parent9404c3974cfc4b110560ad705ab2bee051a0868b
arm64: KVM: Get rid of old vcpu_reg()

Using oldstyle vcpu_reg() accessor is proven to be inappropriate and
unsafe on ARM64. This patch converts the rest of use cases to new
accessors and completely removes vcpu_reg() on ARM64.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/psci.c
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/kvm/handle_exit.c