aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r--include/linux/workqueue.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index eb753b7790e5..ab0b7fb99bc2 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -340,4 +340,11 @@ static inline long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg)
340#else 340#else
341long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg); 341long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg);
342#endif /* CONFIG_SMP */ 342#endif /* CONFIG_SMP */
343
344#ifdef CONFIG_FREEZER
345extern void freeze_workqueues_begin(void);
346extern bool freeze_workqueues_busy(void);
347extern void thaw_workqueues(void);
348#endif /* CONFIG_FREEZER */
349
343#endif 350#endif