summaryrefslogtreecommitdiffstats
path: root/kernel/async.c
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2015-11-19 16:31:11 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-19 17:51:48 +0100
commit581da2cab557fa6e8a954c148c487eb7e0658979 (patch)
tree8e76e7bc36f51905468fae81222eac8deaad533b /kernel/async.c
parentfb1a21114fe18e2ee96ea159c6b42441cc3aedf1 (diff)
downloadlinux-581da2cab557fa6e8a954c148c487eb7e0658979.tar.gz
linux-581da2cab557fa6e8a954c148c487eb7e0658979.tar.bz2
linux-581da2cab557fa6e8a954c148c487eb7e0658979.zip
async: export current_is_async()
Introduced by 84b233adcca3 ("workqueue: implement current_is_async()"). Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Lukas Wunner <lukas@wunner.de> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'kernel/async.c')
-rw-r--r--kernel/async.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/async.c b/kernel/async.c
index 4c3773c0bf63..d2edd6efec56 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -326,3 +326,4 @@ bool current_is_async(void)
return worker && worker->current_func == async_run_entry_fn;
}
+EXPORT_SYMBOL_GPL(current_is_async);