summaryrefslogtreecommitdiff
path: root/include/linux/wait.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-06-13 17:06:05 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-06-13 17:41:59 -0800
commit38f22164a9a3f2f8e33af8e0cc3ce4f17ef99cde (patch)
tree3b5de0fc73f51199bea8fcb63ad97a5b01a7c4ca /include/linux/wait.h
parent914c4d19ed4a1c64268c4c23609c43d3d6765969 (diff)
Update bcachefs sources to 6a25f7a00d bcachefs: fix ioctl code
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r--include/linux/wait.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h
index f6f5757a..62d15e5d 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -90,6 +90,8 @@ do { \
__wait_event(wq, condition); \
} while (0)
+#define wait_event_killable(wq, condition) ({wait_event(wq, condition); 0; })
+
#define __wait_event_timeout(wq, condition, timeout) \
___wait_event(wq, ___wait_cond_timeout(condition), \
TASK_UNINTERRUPTIBLE, 0, timeout, \