Skip to content
Commit 1b422dd7 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

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: default avatarMarc Zyngier <maz@kernel.org>
parent efaa5b93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment