opnsense-src/sys/modules/linuxkpi
Jean-Sébastien Pédron 6425b7399b linuxkpi: Add eventfd_*()
Add <linux/eventfd.h> and expose the `eventfd_*()` API. This is used by
DRM drivers for some time, but the code was commented out so far.

Note that Linux uses `struct eventfd_ctx`, but FreeBSD defines `struct
eventfd`. We define `eventfd_ctx` as a synonym to `eventfd`.

Reviewed by:	christos, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D50853

(cherry picked from commit a200c8e51cdb4586ad2eb20d2b45ba367f00beaf)
2026-04-22 20:56:59 +00:00
..
Makefile linuxkpi: Add eventfd_*() 2026-04-22 20:56:59 +00:00