aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index c74bf39ef764..a86688fabc55 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2864,11 +2864,11 @@ bool flush_work(struct work_struct *work)
2864EXPORT_SYMBOL_GPL(flush_work); 2864EXPORT_SYMBOL_GPL(flush_work);
2865 2865
2866struct cwt_wait { 2866struct cwt_wait {
2867 wait_queue_t wait; 2867 wait_queue_entry_t wait;
2868 struct work_struct *work; 2868 struct work_struct *work;
2869}; 2869};
2870 2870
2871static int cwt_wakefn(wait_queue_t *wait, unsigned mode, int sync, void *key) 2871static int cwt_wakefn(wait_queue_entry_t *wait, unsigned mode, int sync, void *key)
2872{ 2872{
2873 struct cwt_wait *cwait = container_of(wait, struct cwt_wait, wait); 2873 struct cwt_wait *cwait = container_of(wait, struct cwt_wait, wait);
2874 2874