git: 057f145aae9a - main - linuxkpi: Implement the wait_event_interruptible macro
Neel Chauhan
nc at FreeBSD.org
Mon Apr 26 15:15:55 UTC 2021
The branch main has been updated by nc (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=057f145aae9a3528ccd722c8f566d740d5cafcbb
commit 057f145aae9a3528ccd722c8f566d740d5cafcbb
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:12:18 +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
---
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-main
mailing list