summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/nvhe/switch.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2019-06-26 19:57:41 +0100
committerMarc Zyngier <maz@kernel.org>2020-07-07 09:28:37 +0100
commit1b422dd7fc3c85556df656e3d8f1475ce99f93a0 (patch)
treeb72072831c68f24f3f885028e7cda8db3808b191 /arch/arm64/kvm/hyp/nvhe/switch.c
parentefaa5b93afde088411b67a0dde34e67aedc6e72f (diff)
KVM: arm64: Introduce accessor for ctxt->sys_reg
In order to allow the disintegration of the per-vcpu sysreg array, let's introduce a new helper (ctxt_sys_reg()) that returns the in-memory copy of a system register, picked from a given context. __vcpu_sys_reg() is rewritten to use this helper. Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64/kvm/hyp/nvhe/switch.c')
0 files changed, 0 insertions, 0 deletions