git: 3e6b8bcf6e8e - stable/13 - linuxkpi: Implement the wait_event_interruptible macro
Neel Chauhan
nc at FreeBSD.org
Mon Apr 26 15:45:07 UTC 2021
The branch stable/13 has been updated by nc (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=3e6b8bcf6e8ee41591e2d27879f0a3baa9ebbb16
commit 3e6b8bcf6e8ee41591e2d27879f0a3baa9ebbb16
Author: Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-04-26 15:12:18 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-04-26 15:43:37 +0000
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
(cherry picked from commit 057f145aae9a3528ccd722c8f566d740d5cafcbb)
---
sys/compat/linuxkpi/common/include/linux/wait_bit.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/wait_bit.h b/sys/compat/linuxkpi/common/include/linux/wait_bit.h
index e3dddaade498..711b19da6582 100644
--- a/sys/compat/linuxkpi/common/include/linux/wait_bit.h
+++ b/sys/compat/linuxkpi/common/include/linux/wait_bit.h
@@ -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)
{
More information about the dev-commits-src-all
mailing list