diff options
Diffstat (limited to 'include/linux/wait.h')
-rw-r--r-- | include/linux/wait.h | 2 |
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, \ |