diff options
author | Borislav Petkov <bp@suse.de> | 2013-03-20 10:07:24 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2013-04-02 13:12:52 -0400 |
commit | e2604b49e8a8827e8bc5b61bc0c5a889e028fdad (patch) | |
tree | 43f39236ba314d50e31c02364dcd6c88e7c6cb10 /arch/x86/mm | |
parent | 65fc985b37dc241c4db7cd32adcbc989193fe3c8 (diff) |
x86, cpu: Convert F00F bug detection
... to using the new facility and drop the cpuinfo_x86 member.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1363788448-31325-3-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/fault.c | 2 |
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) { |