summaryrefslogtreecommitdiffstats
path: root/include/linux/completion.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-12-06 12:29:54 -0500
committerMatthew Wilcox <willy@linux.intel.com>2007-12-06 17:40:19 -0500
commit009e577e079656d51d0fe9b15e61e41b00816c29 (patch)
treebc0f1ac69dae6c845f1d02b710bf9073a7d8616a /include/linux/completion.h
parent1411d5a7fbe7dce1568b6f0a94c7cbc69eed1bfe (diff)
downloadlinux-009e577e079656d51d0fe9b15e61e41b00816c29.tar.gz
linux-009e577e079656d51d0fe9b15e61e41b00816c29.tar.bz2
linux-009e577e079656d51d0fe9b15e61e41b00816c29.zip
Add wait_for_completion_killable
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Diffstat (limited to 'include/linux/completion.h')
-rw-r--r--include/linux/completion.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/completion.h b/include/linux/completion.h
index 33d6aaf94447..d2961b66d53d 100644
--- a/include/linux/completion.h
+++ b/include/linux/completion.h
@@ -44,6 +44,7 @@ static inline void init_completion(struct completion *x)
extern void wait_for_completion(struct completion *);
extern int wait_for_completion_interruptible(struct completion *x);
+extern int wait_for_completion_killable(struct completion *x);
extern unsigned long wait_for_completion_timeout(struct completion *x,
unsigned long timeout);
extern unsigned long wait_for_completion_interruptible_timeout(