KVM: arm64: Move kvm_get_hyp_vector() out of header file
authorWill Deacon <will@kernel.org>
Fri, 13 Nov 2020 11:38:40 +0000 (11:38 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 16 Nov 2020 10:40:17 +0000 (10:40 +0000)
commit042c76a9502bf281befc0ae2793ef1de55b65544
tree26d3c47f7c73c01f4f37352118bceb7eed01ab56
parentde5bcdb48498abeb019ae075d139850c52661627
KVM: arm64: Move kvm_get_hyp_vector() out of header file

kvm_get_hyp_vector() has only one caller, so move it out of kvm_mmu.h
and inline it into a new function, cpu_set_hyp_vector(), for setting
the vector.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20201113113847.21619-4-will@kernel.org
arch/arm64/include/asm/kvm_mmu.h
arch/arm64/kvm/arm.c