Page MenuHomeFreeBSD

LinuxKPI: add supporting #includes
ClosedPublic

Authored by bz on Thu, Mar 19, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 5:32 AM
Unknown Object (File)
Sat, Apr 4, 9:09 AM
Unknown Object (File)
Fri, Apr 3, 12:14 PM
Unknown Object (File)
Wed, Apr 1, 5:48 PM
Unknown Object (File)
Mon, Mar 30, 7:52 AM
Unknown Object (File)
Sun, Mar 29, 2:15 AM
Unknown Object (File)
Wed, Mar 25, 1:04 PM
Unknown Object (File)
Wed, Mar 25, 6:24 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 Not Applicable
Unit
Tests Not Applicable