]> 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)
commit46bee42dd99c79f3a826890ed3878db6818d8573
tree95a92016b8db2e817db3e0341ec003d18f72215d
parent1c68a1fff649f1b920f0fe50bc5a2e85a5474369
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