Page MenuHomeFreeBSD

linuxkpi: #ifdef guard fpu_kern(9) usage
ClosedPublic

Authored by mhorne on Jun 12 2023, 1:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 2:52 PM
Unknown Object (File)
Wed, Oct 30, 3:27 AM
Unknown Object (File)
Oct 20 2024, 6:33 AM
Unknown Object (File)
Oct 20 2024, 6:33 AM
Unknown Object (File)
Oct 20 2024, 6:33 AM
Unknown Object (File)
Oct 20 2024, 6:16 AM
Unknown Object (File)
Oct 1 2024, 7:40 PM
Unknown Object (File)
Sep 24 2024, 4:15 AM

Details

Summary

The recent revert of 8ca78eb03fd4 removed the guards around these calls.
As a result, LINT builds for architectures which do not implement this
API on the branch are failing -- armv7, powerpc, powerpc64, riscv.

This is a direct commit to stable/13.

Fixes: fa6603d4a725 (Revert "LinuxKPI: Make FPU sections thread-safe...)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This should fix the failing CI jobs, so I will just go ahead and commit it. CC @lwhsu.

https://ci.freebsd.org/job/FreeBSD-stable-13-armv7-LINT/

This revision was not accepted when it landed; it landed in state Needs Review.Jun 14 2023, 4:55 PM
This revision was automatically updated to reflect the committed changes.