mirror of
https://github.com/opnsense/src.git
synced 2026-03-10 10:13:20 -04:00
In particular: - Don't evaluate event conditions with a sleepqueue lock held, since such code may attempt to acquire arbitrary locks. - Fix the return value for wait_event_interruptible() in the case that the wait is interrupted by a signal. - Implement wait_on_bit_timeout() and wait_on_atomic_t(). - Implement some functions used to test for pending signals. - Implement a number of wait_event_*() variants and unify the existing implementations. - Unify the mechanism used by wait_event_*() and schedule() to put the calling thread to sleep. This is required to support updated DRM drivers. Thanks to hselasky for finding and fixing a number of bugs in the original revision. Reviewed by: hselasky MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D10986
31 lines
539 B
Makefile
31 lines
539 B
Makefile
# $FreeBSD$
|
|
.PATH: ${SRCTOP}/sys/compat/linuxkpi/common/src
|
|
|
|
KMOD= linuxkpi
|
|
SRCS= linux_kmod.c \
|
|
linux_compat.c \
|
|
linux_current.c \
|
|
linux_kthread.c \
|
|
linux_lock.c \
|
|
linux_page.c \
|
|
linux_pci.c \
|
|
linux_radix.c \
|
|
linux_rcu.c \
|
|
linux_schedule.c \
|
|
linux_slab.c \
|
|
linux_tasklet.c \
|
|
linux_idr.c \
|
|
linux_usb.c \
|
|
linux_work.c
|
|
|
|
SRCS+= bus_if.h \
|
|
device_if.h \
|
|
pci_if.h \
|
|
vnode_if.h \
|
|
usb_if.h \
|
|
opt_usb.h
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
|
CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include
|
|
|
|
.include <bsd.kmod.mk>
|