workqueue: implement current_is_async()
[linux-2.6-block.git] / include / linux / async.h
index 7a24fe9b44b4bab04edf6b49583a7dfa8bd5a530..345169cfa3046eb79b1a2d080f024c94adfa0c57 100644 (file)
@@ -52,4 +52,5 @@ extern void async_synchronize_full_domain(struct async_domain *domain);
 extern void async_synchronize_cookie(async_cookie_t cookie);
 extern void async_synchronize_cookie_domain(async_cookie_t cookie,
                                            struct async_domain *domain);
+extern bool current_is_async(void);
 #endif