aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm')
-rw-r--r--arch/x86/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index 2b97525246d4..a1ce1facbacc 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -555,7 +555,7 @@ static int is_f00f_bug(struct pt_regs *regs, unsigned long address)
555 /* 555 /*
556 * Pentium F0 0F C7 C8 bug workaround: 556 * Pentium F0 0F C7 C8 bug workaround:
557 */ 557 */
558 if (boot_cpu_data.f00f_bug) { 558 if (boot_cpu_has_bug(X86_BUG_F00F)) {
559 nr = (address - idt_descr.address) >> 3; 559 nr = (address - idt_descr.address) >> 3;
560 560
561 if (nr == 6) { 561 if (nr == 6) {