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:
parent
5f5bf88949
commit
057f145aae
@ -40,6 +40,9 @@ extern wait_queue_head_t linux_var_waitq;
|
|||||||
#define wait_var_event_killable(var, cond) \
|
#define wait_var_event_killable(var, cond) \
|
||||||
wait_event_killable(linux_var_waitq, 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
|
static inline void
|
||||||
clear_and_wake_up_bit(int bit, void *word)
|
clear_and_wake_up_bit(int bit, void *word)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user