summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/reset.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-07-28 16:48:27 +0200
committerMarc Zyngier <maz@kernel.org>2020-07-28 16:48:27 +0200
commit300dca6853392829522be2ffb5d9a837b7c82296 (patch)
treeac0abd84ce546c8a226ea1c6781603dcec6a1126 /arch/arm64/kvm/reset.c
parentMerge branch 'kvm-arm64/el2-obj-v4.1' into kvmarm-master/next-WIP (diff)
parentKVM: arm64: timers: Move timer registers to the sys_regs file (diff)
downloadlinux-300dca6853392829522be2ffb5d9a837b7c82296.tar.xz
linux-300dca6853392829522be2ffb5d9a837b7c82296.zip
Merge branch 'kvm-arm64/pre-nv-5.9' into kvmarm-master/next-WIP
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/reset.c')
-rw-r--r--arch/arm64/kvm/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c
index d3b209023727..8ca8607f5a9f 100644
--- a/arch/arm64/kvm/reset.c
+++ b/arch/arm64/kvm/reset.c
@@ -288,7 +288,7 @@ int kvm_reset_vcpu(struct kvm_vcpu *vcpu)
/* Reset core registers */
memset(vcpu_gp_regs(vcpu), 0, sizeof(*vcpu_gp_regs(vcpu)));
- vcpu_gp_regs(vcpu)->regs.pstate = pstate;
+ vcpu_gp_regs(vcpu)->pstate = pstate;
/* Reset system registers */
kvm_reset_sys_regs(vcpu);