diff options
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 7 |
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 |
341 | long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg); | 341 | long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg); |
342 | #endif /* CONFIG_SMP */ | 342 | #endif /* CONFIG_SMP */ |
343 | |||
344 | #ifdef CONFIG_FREEZER | ||
345 | extern void freeze_workqueues_begin(void); | ||
346 | extern bool freeze_workqueues_busy(void); | ||
347 | extern void thaw_workqueues(void); | ||
348 | #endif /* CONFIG_FREEZER */ | ||
349 | |||
343 | #endif | 350 | #endif |