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 cdccaab commit 7565caaCopy full SHA for 7565caa
arch/x86/kernel/cpu/proc.c
@@ -41,11 +41,11 @@ static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c)
41
"fpu_exception\t: %s\n"
42
"cpuid level\t: %d\n"
43
"wp\t\t: yes\n",
44
- boot_cpu_has_bug(X86_BUG_FDIV) ? "yes" : "no",
45
- boot_cpu_has_bug(X86_BUG_F00F) ? "yes" : "no",
46
- boot_cpu_has_bug(X86_BUG_COMA) ? "yes" : "no",
47
- boot_cpu_has(X86_FEATURE_FPU) ? "yes" : "no",
48
+ str_yes_no(boot_cpu_has_bug(X86_BUG_FDIV)),
+ str_yes_no(boot_cpu_has_bug(X86_BUG_F00F)),
+ str_yes_no(boot_cpu_has_bug(X86_BUG_COMA)),
+ str_yes_no(boot_cpu_has(X86_FEATURE_FPU)),
49
c->cpuid_level);
50
}
51
#else
0 commit comments