Page MenuHomeFreeBSD

LinuxKPI: correct the LINUXKPI_VERSION check for abs_diff()
ClosedPublic

Authored by bz on Aug 21 2025, 8:59 AM.
Tags
None
Referenced Files
F139626976: D52071.diff
Sun, Dec 14, 8:07 AM
Unknown Object (File)
Fri, Dec 12, 5:44 AM
Unknown Object (File)
Sun, Dec 7, 5:28 AM
Unknown Object (File)
Fri, Dec 5, 7:07 AM
Unknown Object (File)
Sat, Nov 22, 3:52 AM
Unknown Object (File)
Nov 8 2025, 1:28 PM
Unknown Object (File)
Nov 5 2025, 12:28 PM
Unknown Object (File)
Nov 5 2025, 7:51 AM
Subscribers

Details

Summary

The code introduced abs_diff() as migrated from drm to standard
linux headers. The LINUXKPI_VERSION check did not allow this to
be visible by default in-tree. Make sure the v6.6 check is optional.
drm-kmod always defines LINUXKPI_VERSION so this should be fine.

Sponsored by: The FreeBSD Foundation
Fixes: afc450fac9f04
MFC after: 3 days

Diff Detail

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