aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/nvhe/switch.c
diff options
context:
space:
mode:
authorWei-Lin Chang <r09922117@csie.ntu.edu.tw>2022-09-29 12:28:39 +0800
committerMarc Zyngier <maz@kernel.org>2022-09-29 09:07:08 +0100
commit43b233b1582de501e441deb7c4ed1f944e60b1f9 (patch)
treede9c98c61ea1924175af3edeee2655ad48403bf9 /arch/arm64/kvm/hyp/nvhe/switch.c
parentKVM: selftests: Update top-of-file comment in psci_test (diff)
downloadlinux-dev-43b233b1582de501e441deb7c4ed1f944e60b1f9.tar.xz
linux-dev-43b233b1582de501e441deb7c4ed1f944e60b1f9.zip
KVM: arm64: Fix comment typo in nvhe/switch.c
Fix the comment of __hyp_vgic_restore_state() from saying VEH to VHE, also change the underscore to a dash to match the comment above __hyp_vgic_save_state(). Signed-off-by: Wei-Lin Chang <r09922117@csie.ntu.edu.tw> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20220929042839.24277-1-r09922117@csie.ntu.edu.tw
Diffstat (limited to '')
-rw-r--r--arch/arm64/kvm/hyp/nvhe/switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp/nvhe/switch.c b/arch/arm64/kvm/hyp/nvhe/switch.c
index 9f6385702061..8e9d49a964be 100644
--- a/arch/arm64/kvm/hyp/nvhe/switch.c
+++ b/arch/arm64/kvm/hyp/nvhe/switch.c
@@ -143,7 +143,7 @@ static void __hyp_vgic_save_state(struct kvm_vcpu *vcpu)
}
}
-/* Restore VGICv3 state on non_VEH systems */
+/* Restore VGICv3 state on non-VHE systems */
static void __hyp_vgic_restore_state(struct kvm_vcpu *vcpu)
{
if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) {