]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/completion.h
powerpc/drivers: Use linux/of_device.h instead of asm/of_device.h
[linux-2.6-omap-h63xx.git] / include / linux / completion.h
index d2961b66d53dbab52a3f69cd30a441725c4000ee..02ef8835999cf666c88bb587e47ff7104c0275ac 100644 (file)
@@ -49,10 +49,13 @@ extern unsigned long wait_for_completion_timeout(struct completion *x,
                                                   unsigned long timeout);
 extern unsigned long wait_for_completion_interruptible_timeout(
                        struct completion *x, unsigned long timeout);
+extern bool try_wait_for_completion(struct completion *x);
+extern bool completion_done(struct completion *x);
 
 extern void complete(struct completion *);
 extern void complete_all(struct completion *);
 
 #define INIT_COMPLETION(x)     ((x).done = 0)
 
+
 #endif