We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38f9e4b commit dea8838Copy full SHA for dea8838
arch/arm64/kvm/vgic/vgic-v3.c
@@ -6,6 +6,7 @@
6
#include <linux/kstrtox.h>
7
#include <linux/kvm.h>
8
#include <linux/kvm_host.h>
9
+#include <linux/string_choices.h>
10
#include <kvm/arm_vgic.h>
11
#include <asm/kvm_hyp.h>
12
#include <asm/kvm_mmu.h>
@@ -663,9 +664,9 @@ int vgic_v3_probe(const struct gic_kvm_info *info)
663
664
if (info->has_v4) {
665
kvm_vgic_global_state.has_gicv4 = gicv4_enable;
666
kvm_vgic_global_state.has_gicv4_1 = info->has_v4_1 && gicv4_enable;
- kvm_info("GICv4%s support %sabled\n",
667
+ kvm_info("GICv4%s support %s\n",
668
kvm_vgic_global_state.has_gicv4_1 ? ".1" : "",
- gicv4_enable ? "en" : "dis");
669
+ str_enabled_disabled(gicv4_enable));
670
}
671
672
kvm_vgic_global_state.vcpu_base = 0;
0 commit comments