summaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2018-03-20 10:01:37 +0100
committerIngo Molnar <mingo@kernel.org>2018-03-20 10:01:37 +0100
commit3eb93ea3272d428aab3c03e2dd272a78a7729ba8 (patch)
tree63ca8b7e7feccb109f4b5cb868939da395c7632f /include/linux/workqueue.h
parent5927145efd5de71976e62e2822511b13014d7e56 (diff)
parent565977a3d929fc4427769117a8ac976ec16776d5 (diff)
downloadcachepc-linux-3eb93ea3272d428aab3c03e2dd272a78a7729ba8.tar.gz
cachepc-linux-3eb93ea3272d428aab3c03e2dd272a78a7729ba8.zip
Merge branch 'x86/mm' into x86/dma, to pick up dependencies
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 4a54ef96aff5..bc0cda180c8b 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -465,6 +465,7 @@ extern bool cancel_delayed_work_sync(struct delayed_work *dwork);
extern void workqueue_set_max_active(struct workqueue_struct *wq,
int max_active);
+extern struct work_struct *current_work(void);
extern bool current_is_workqueue_rescuer(void);
extern bool workqueue_congested(int cpu, struct workqueue_struct *wq);
extern unsigned int work_busy(struct work_struct *work);