]> 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 268c5a4a2bd4d5611d85da425ed1f66ee5eed883..02ef8835999cf666c88bb587e47ff7104c0275ac 100644 (file)
@@ -42,16 +42,20 @@ static inline void init_completion(struct completion *x)
        init_waitqueue_head(&x->wait);
 }
 
-extern void FASTCALL(wait_for_completion(struct completion *));
-extern int FASTCALL(wait_for_completion_interruptible(struct completion *x));
-extern unsigned long FASTCALL(wait_for_completion_timeout(struct completion *x,
-                                                  unsigned long timeout));
-extern unsigned long FASTCALL(wait_for_completion_interruptible_timeout(
-                       struct completion *x, unsigned long timeout));
-
-extern void FASTCALL(complete(struct completion *));
-extern void FASTCALL(complete_all(struct completion *));
+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(
+                       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