]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
async: export current_is_async()
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Nov 2015 15:31:11 +0000 (16:31 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 19 Nov 2015 16:51:48 +0000 (17:51 +0100)
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>
kernel/async.c

index 4c3773c0bf630c1de55a6f5c24bd148c53f1186e..d2edd6efec56295d3dcfefa5587266915657d9d3 100644 (file)
@@ -326,3 +326,4 @@ bool current_is_async(void)
 
        return worker && worker->current_func == async_run_entry_fn;
 }
+EXPORT_SYMBOL_GPL(current_is_async);