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)
Mon, Oct 13, 2:29 AM
Unknown Object (File)
Sat, Sep 27, 5:07 AM
Unknown Object (File)
Sep 11 2025, 9:39 PM
Unknown Object (File)
Sep 5 2025, 11:33 AM
Unknown Object (File)
Aug 2 2025, 8:18 PM
Unknown Object (File)
Aug 2 2025, 12:06 AM
Unknown Object (File)
Jul 7 2025, 12:34 AM
Unknown Object (File)
Jul 5 2025, 7:05 PM

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.