File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 12
12
#include <linux/panic_notifier.h>
13
13
#include <linux/seq_file.h>
14
14
#include <linux/string.h>
15
+ #include <linux/string_choices.h>
15
16
#include <linux/utsname.h>
16
17
#include <linux/sched.h>
17
18
#include <linux/sched/task.h>
@@ -78,7 +79,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
78
79
seq_printf (m , "model name\t: UML\n" );
79
80
seq_printf (m , "mode\t\t: skas\n" );
80
81
seq_printf (m , "host\t\t: %s\n" , host_info );
81
- seq_printf (m , "fpu\t\t: %s\n" , cpu_has (& boot_cpu_data , X86_FEATURE_FPU ) ? "yes" : "no" );
82
+ seq_printf (m , "fpu\t\t: %s\n" , str_yes_no ( cpu_has (& boot_cpu_data , X86_FEATURE_FPU )) );
82
83
seq_printf (m , "flags\t\t:" );
83
84
for (i = 0 ; i < 32 * NCAPINTS ; i ++ )
84
85
if (cpu_has (& boot_cpu_data , i ) && (x86_cap_flags [i ] != NULL ))
You can’t perform that action at this time.
0 commit comments