Page MenuHomeFreeBSD

linuxkpi: Add idr.h -> radix-tree.h -> rcupdate.h includes
ClosedPublic

Authored by dumbbell on Jan 31 2025, 2:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 7, 6:44 AM
Unknown Object (File)
Tue, Mar 4, 4:51 PM
Unknown Object (File)
Sun, Mar 2, 11:17 AM
Unknown Object (File)
Sun, Mar 2, 1:17 AM
Unknown Object (File)
Wed, Feb 26, 1:48 PM
Unknown Object (File)
Wed, Feb 26, 7:20 AM
Unknown Object (File)
Wed, Feb 26, 2:29 AM
Unknown Object (File)
Tue, Feb 25, 11:57 PM
Subscribers

Details

Summary

Why

Some files in DRM rely on namespace pollution: they use the <linux/rcupdate.h> API without including it explicitly.

How

Reproduce the Linux chain of includes even if it means nothing on FreeBSD. This allows consumers of <linux/idr.h> to "inherit" <linux/rcupdate.h> API.

This is part of the update of DRM drivers to Linux 6.7.

Sponsored by: The FreeBSD Foundation

Diff Detail

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