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)
Sun, Dec 7, 11:01 AM
Unknown Object (File)
Tue, Dec 2, 2:22 PM
Unknown Object (File)
Wed, Nov 26, 9:47 PM
Unknown Object (File)
Nov 8 2025, 4:13 AM
Unknown Object (File)
Nov 1 2025, 1:58 PM
Unknown Object (File)
Oct 25 2025, 4:22 PM
Unknown Object (File)
Oct 21 2025, 10:24 PM
Unknown Object (File)
Oct 13 2025, 2:29 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.