linuxkpi: Implement the wait_event_interruptible macro

This is needed by the drm-kmod 5.5 update and is similar in logic to the
existing wait_event_killable macro.

Reviewed by:		hselasky, manu
MFC after:		3 days
Differential Revision:	https://reviews.freebsd.org/D29987
This commit is contained in:
Neel Chauhan 2021-04-26 08:12:18 -07:00
parent 5f5bf88949
commit 057f145aae

View File

@ -40,6 +40,9 @@ extern wait_queue_head_t linux_var_waitq;
#define wait_var_event_killable(var, cond) \
wait_event_killable(linux_var_waitq, cond)
#define wait_var_event_interruptible(var, cond) \
wait_event_interruptible(linux_var_waitq, cond)
static inline void
clear_and_wake_up_bit(int bit, void *word)
{