diff options
author | Andy Lutomirski <luto@kernel.org> | 2017-01-18 22:15:42 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-01-25 12:12:44 +0300 |
commit | 9729017f844431ab2800519297d8d1b0ecbc420d (patch) | |
tree | 3e06ec80c7e2575f1cb4ec6490309b89d14db8fa /arch/x86/kernel/fpu/xstate.c | |
parent | 37ac78b67b3384d1ced5424d5a13ee146041bda3 (diff) | |
download | linux-9729017f844431ab2800519297d8d1b0ecbc420d.tar.xz |
x86/fpu: Fix the "Giving up, no FPU found" test
We would never print "Giving up, no FPU found" because
X86_FEATURE_FPU was in REQUIRED_MASK on non-FPU-emulating builds, so
the boot_cpu_has() test didn't do anything.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matthew Whitehead <tedheadster@gmail.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Yu-cheng Yu <yu-cheng.yu@intel.com>
Link: http://lkml.kernel.org/r/1499077fa76f0f84b8ea28e37d3fa70beca4e310.1484705016.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/fpu/xstate.c')
0 files changed, 0 insertions, 0 deletions