summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/mmu.c
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2022-11-10 22:02:43 +0300
committerMarc Zyngier <maz@kernel.org>2022-11-11 19:40:54 +0300
commit1c80002e3264552d8b9c0e162e09aa4087403716 (patch)
tree9eed618e07926be900b15b1c53cbc3e3b6ef4e3e /arch/arm64/kvm/mmu.c
parent4d968b12e6bbe4440f4f220c41d779e02df8af1a (diff)
downloadlinux-1c80002e3264552d8b9c0e162e09aa4087403716.tar.xz
KVM: arm64: Add hyp_spinlock_t static initializer
Introduce a static initializer macro for 'hyp_spinlock_t' so that it is straightforward to instantiate global locks at EL2. This will be later utilised for locking the VM table in the hypervisor. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Tested-by: Vincent Donnefort <vdonnefort@google.com> Signed-off-by: Fuad Tabba <tabba@google.com> Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221110190259.26861-11-will@kernel.org
Diffstat (limited to 'arch/arm64/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions