aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/workqueue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 70f95ab28f3d..5c26d36146b7 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1997,7 +1997,9 @@ __acquires(&gcwq->lock)
1997 1997
1998 spin_unlock_irq(&gcwq->lock); 1998 spin_unlock_irq(&gcwq->lock);
1999 1999
2000 smp_wmb(); /* paired with test_and_set_bit(PENDING) */
2000 work_clear_pending(work); 2001 work_clear_pending(work);
2002
2001 lock_map_acquire_read(&cwq->wq->lockdep_map); 2003 lock_map_acquire_read(&cwq->wq->lockdep_map);
2002 lock_map_acquire(&lockdep_map); 2004 lock_map_acquire(&lockdep_map);
2003 trace_workqueue_execute_start(work); 2005 trace_workqueue_execute_start(work);