]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Fix incorrect comment on kvm_get_hyp_vector()
authorDavid Brazdil <dbrazdil@google.com>
Fri, 15 May 2020 15:25:50 +0000 (16:25 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 25 May 2020 15:16:16 +0000 (16:16 +0100)
commit0808f6e501e42c3920a3deb6559b57eaaf464fb4
tree95a92016b8db2e817db3e0341ec003d18f72215d
parent9ac9f9b343967bc1271642d48344e1cb0a23c3e0
KVM: arm64: Fix incorrect comment on kvm_get_hyp_vector()

The comment used to say that kvm_get_hyp_vector is only called on VHE systems.
In fact, it is also called from the nVHE init function cpu_init_hyp_mode().
Fix the comment to stop confusing devs.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200515152550.83810-1-dbrazdil@google.com
arch/arm64/include/asm/kvm_mmu.h