projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/cpufeature: Replace cpu_has_fpu with boot_cpu_has() usage
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
fpu
/
bugs.c
diff --git
a/arch/x86/kernel/fpu/bugs.c
b/arch/x86/kernel/fpu/bugs.c
index dd9ca9b60ff3a497b5033c3fd714f93140ac689f..224b5ec52195932567b3be917650828604dd3e4b 100644
(file)
--- a/
arch/x86/kernel/fpu/bugs.c
+++ b/
arch/x86/kernel/fpu/bugs.c
@@
-66,6
+66,6
@@
void __init fpu__init_check_bugs(void)
* kernel_fpu_begin/end() in check_fpu() relies on the patched
* alternative instructions.
*/
- if (
cpu_has_fpu
)
+ if (
boot_cpu_has(X86_FEATURE_FPU)
)
check_fpu();
}