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)
commitf6be563abb60f0fa6978dec46da01164df89a635
tree4c26dc5d7a5498e4728725ccfc4fb7b0f1a1c953
parent2ec5be3dbfdcb672cdafde463a5f2c0bfe522c3d
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