We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37ac78b commit 9729017Copy full SHA for 9729017
arch/x86/kernel/fpu/init.c
@@ -77,7 +77,7 @@ static void fpu__init_system_early_generic(struct cpuinfo_x86 *c)
77
}
78
79
#ifndef CONFIG_MATH_EMULATION
80
- if (!boot_cpu_has(X86_FEATURE_FPU)) {
+ if (!test_cpu_cap(&boot_cpu_data, X86_FEATURE_FPU)) {
81
pr_emerg("x86/fpu: Giving up, no FPU found and no math emulation present\n");
82
for (;;)
83
asm volatile("hlt");
0 commit comments