Page MenuHomeFreeBSD

LinuxKPI: add supporting #includes
ClosedPublic

Authored by bz on Mar 19 2026, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 17, 11:33 PM
Unknown Object (File)
Sun, May 17, 11:26 PM
Unknown Object (File)
Thu, May 14, 3:32 PM
Unknown Object (File)
Thu, May 14, 2:59 PM
Unknown Object (File)
Thu, May 14, 1:45 AM
Unknown Object (File)
Wed, May 13, 11:21 PM
Unknown Object (File)
Mon, May 11, 11:05 AM
Unknown Object (File)
Sun, May 10, 5:04 AM
Subscribers

Details

Summary

Compiling drm-kmod on !X86 does not include asm/smp.h which includes
preempt.h on FreeBSD. In order to compile drm-kmod on other
architectures add the secondary #includes for preempt.h to
spinlock.h and hardirq.h (which now also gets included from highmem.h)
to connect the #include chain.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
PR: 279864

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71559
Build 68442: arc lint + arc unit