KVM: arm64: Minor cleanup of hyp variables used in host
authorDavid Brazdil <dbrazdil@google.com>
Tue, 8 Dec 2020 14:24:50 +0000 (14:24 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 22 Dec 2020 10:49:01 +0000 (10:49 +0000)
commit61fe0c37af57ac35472a870581a7d0bb5ac2f63a
tree79d6e9092e4830d0eb756c857f657262b9b5f035
parentc3e181aec96f6ada84df1cb72a72be8970f8b284
KVM: arm64: Minor cleanup of hyp variables used in host

Small cleanup moving declarations of hyp-exported variables to
kvm_host.h and using macros to avoid having to refer to them with
kvm_nvhe_sym() in host.

No functional change intended.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201208142452.87237-5-dbrazdil@google.com
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/nvhe/hyp-smp.c
arch/arm64/kvm/va_layout.c