Date: Mon, 26 Apr 2021 15:45:07 GMT From: Neel Chauhan <nc@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 3e6b8bcf6e8e - stable/13 - linuxkpi: Implement the wait_event_interruptible macro Message-ID: <202104261545.13QFj77w012919@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org> AuthorDate: 2021-04-26 15:12:18 +0000 Commit: Neel Chauhan <nc@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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104261545.13QFj77w012919>