git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86, cpu: Convert F00F bug detection
[sfrench/cifs-2.6.git]
/
arch
/
x86
/
kernel
/
cpu
/
proc.c
diff --git
a/arch/x86/kernel/cpu/proc.c
b/arch/x86/kernel/cpu/proc.c
index e280253f6f9415ed10ff36cde95fc2f48238d29a..2d60b2bec01c7e97e7eb5249148b9cf95ba09e64 100644
(file)
--- a/
arch/x86/kernel/cpu/proc.c
+++ b/
arch/x86/kernel/cpu/proc.c
@@
-35,7
+35,7
@@
static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c)
"cpuid level\t: %d\n"
"wp\t\t: %s\n",
c->fdiv_bug ? "yes" : "no",
-
c->f00f_bug
? "yes" : "no",
+
static_cpu_has_bug(X86_BUG_F00F)
? "yes" : "no",
c->coma_bug ? "yes" : "no",
c->hard_math ? "yes" : "no",
c->hard_math ? "yes" : "no",