x86, cpu: Convert FDIV bug detection
[sfrench/cifs-2.6.git] / arch / x86 / kernel / cpu / proc.c
index 2d60b2bec01c7e97e7eb5249148b9cf95ba09e64..5dfb6c65138fec3a98ce168554488495d47bfa87 100644 (file)
@@ -34,7 +34,7 @@ static void show_cpuinfo_misc(struct seq_file *m, struct cpuinfo_x86 *c)
                   "fpu_exception\t: %s\n"
                   "cpuid level\t: %d\n"
                   "wp\t\t: %s\n",
-                  c->fdiv_bug ? "yes" : "no",
+                  static_cpu_has_bug(X86_BUG_FDIV) ? "yes" : "no",
                   static_cpu_has_bug(X86_BUG_F00F) ? "yes" : "no",
                   c->coma_bug ? "yes" : "no",
                   c->hard_math ? "yes" : "no",