opnsense-src/sys/compat/linuxkpi
Bjoern A. Zeeb 4ad47b697b LinuxKPI: add supporting #includes
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
PR:		279864
Reviewed by:	jhibbits, emaste
Differential Revision: https://reviews.freebsd.org/D55974

(cherry picked from commit 1d18872c2519d7ca726ddc49735180ab1d8916e0)
(cherry picked from commit 29dce45d8c)
2026-04-08 15:25:05 +02:00
..
common LinuxKPI: add supporting #includes 2026-04-08 15:25:05 +02:00
dummy/include LinuxKPI: kunit: add static_stub.h and more dummy headers 2026-01-20 08:39:11 +01:00