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
F144328852: D52071.id160725.diff
Sat, Feb 7, 9:18 PM
Unknown Object (File)
Sat, Jan 31, 7:09 PM
Unknown Object (File)
Sat, Jan 31, 7:49 AM
Unknown Object (File)
Thu, Jan 29, 7:52 AM
Unknown Object (File)
Mon, Jan 26, 4:09 AM
Unknown Object (File)
Jan 6 2026, 3:13 AM
Unknown Object (File)
Jan 4 2026, 7:41 AM
Unknown Object (File)
Dec 14 2025, 8:07 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