Page MenuHomeFreeBSD

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

Authored by dumbbell on Fri, Jan 31, 2:05 PM.
Tags
None
Referenced Files
F109990304: D48741.diff
Wed, Feb 12, 4:13 AM
Unknown Object (File)
Sat, Feb 8, 3:43 PM
Unknown Object (File)
Fri, Jan 31, 6:00 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