Skip to content

Commit 43b233b

Browse files
rhythm16Marc Zyngier
authored andcommitted
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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 448e711 commit 43b233b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kvm/hyp/nvhe/switch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ static void __hyp_vgic_save_state(struct kvm_vcpu *vcpu)
143143
}
144144
}
145145

146-
/* Restore VGICv3 state on non_VEH systems */
146+
/* Restore VGICv3 state on non-VHE systems */
147147
static void __hyp_vgic_restore_state(struct kvm_vcpu *vcpu)
148148
{
149149
if (static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) {

0 commit comments

Comments
 (0)