diff options
Diffstat (limited to 'arch/x86/kernel/cpu/proc.c')
| -rw-r--r-- | arch/x86/kernel/cpu/proc.c | 8 | 
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/proc.c b/arch/x86/kernel/cpu/proc.c index 3286a92e662..37a198bd48c 100644 --- a/arch/x86/kernel/cpu/proc.c +++ b/arch/x86/kernel/cpu/proc.c @@ -28,17 +28,15 @@ static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c)  {  	seq_printf(m,  		   "fdiv_bug\t: %s\n" -		   "hlt_bug\t\t: %s\n"  		   "f00f_bug\t: %s\n"  		   "coma_bug\t: %s\n"  		   "fpu\t\t: %s\n"  		   "fpu_exception\t: %s\n"  		   "cpuid level\t: %d\n"  		   "wp\t\t: %s\n", -		   c->fdiv_bug ? "yes" : "no", -		   c->hlt_works_ok ? "no" : "yes", -		   c->f00f_bug ? "yes" : "no", -		   c->coma_bug ? "yes" : "no", +		   static_cpu_has_bug(X86_BUG_FDIV) ? "yes" : "no", +		   static_cpu_has_bug(X86_BUG_F00F) ? "yes" : "no", +		   static_cpu_has_bug(X86_BUG_COMA) ? "yes" : "no",  		   c->hard_math ? "yes" : "no",  		   c->hard_math ? "yes" : "no",  		   c->cpuid_level,  |