diff options
-rw-r--r-- | include/os/linux/kernel/linux/simd_x86.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/os/linux/kernel/linux/simd_x86.h b/include/os/linux/kernel/linux/simd_x86.h index 7c806bf2c..6d4c7a09f 100644 --- a/include/os/linux/kernel/linux/simd_x86.h +++ b/include/os/linux/kernel/linux/simd_x86.h @@ -318,13 +318,13 @@ kfpu_begin(void) #if defined(HAVE_XSAVES) if (static_cpu_has(X86_FEATURE_XSAVES)) { kfpu_do_xsave("xsaves", &state->xsave, ~0); - goto out; + return; } #endif #if defined(HAVE_XSAVEOPT) if (static_cpu_has(X86_FEATURE_XSAVEOPT)) { kfpu_do_xsave("xsaveopt", &state->xsave, ~0); - goto out; + return; } #endif if (static_cpu_has(X86_FEATURE_XSAVE)) { @@ -334,7 +334,6 @@ kfpu_begin(void) } else { kfpu_save_fsave(&state->fsave); } -out: } #endif /* defined(HAVE_KERNEL_FPU_XSAVE_INTERNAL) */ |