opnsense-src/sys/compat
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
..
freebsd32 stat(2): add st_bsdflags field 2025-04-09 03:53:17 +03:00
ia32 sysentvec: add SV_SIGSYS flag 2023-10-09 06:24:31 +03:00
lindebugfs lindebugfs: use __func__ not __FUNCTION__ 2025-02-10 14:52:12 +00:00
linprocfs linprocfs: Correct sysfs /proc/<pid>/mountinfo entry 2025-03-31 10:42:48 -07:00
linsysfs linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 2023-08-18 13:12:02 +03:00
linux linux: Handle IP_RECVTOS cmsg type 2025-03-31 10:43:06 -07:00
linuxkpi LinuxKPI: add supporting #includes 2026-04-08 15:25:05 +02:00
x86bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00