Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / x86 / mm / fault.c
index 022a9a0..654be4a 100644 (file)
@@ -557,7 +557,7 @@ static int is_f00f_bug(struct pt_regs *regs, unsigned long address)
        /*
         * Pentium F0 0F C7 C8 bug workaround:
         */
-       if (boot_cpu_data.f00f_bug) {
+       if (boot_cpu_has_bug(X86_BUG_F00F)) {
                nr = (address - idt_descr.address) >> 3;
 
                if (nr == 6) {