diff options
Diffstat (limited to 'include/linux/workqueue.h')
-rw-r--r-- | include/linux/workqueue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index 51dc9a727e5..4f9d277bcd9 100644 --- a/include/linux/workqueue.h +++ b/include/linux/workqueue.h | |||
@@ -401,4 +401,8 @@ extern bool freeze_workqueues_busy(void); | |||
401 | extern void thaw_workqueues(void); | 401 | extern void thaw_workqueues(void); |
402 | #endif /* CONFIG_FREEZER */ | 402 | #endif /* CONFIG_FREEZER */ |
403 | 403 | ||
404 | #ifdef CONFIG_LOCKDEP | ||
405 | int in_workqueue_context(struct workqueue_struct *wq); | ||
406 | #endif | ||
407 | |||
404 | #endif | 408 | #endif |