]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0caa41bfff1c830458c3ac7522fe6fc5c52efae
tree26d3c47f7c73c01f4f37352118bceb7eed01ab56
parent319a41d1ccd7fdbebb32b22ce9448c4f6a24d6a1
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