|
@@ -1376,7 +1376,7 @@ static void __queue_work(int cpu, struct workqueue_struct *wq,
|
|
* queued or lose PENDING. Grabbing PENDING and queueing should
|
|
* queued or lose PENDING. Grabbing PENDING and queueing should
|
|
* happen with IRQ disabled.
|
|
* happen with IRQ disabled.
|
|
*/
|
|
*/
|
|
- WARN_ON_ONCE(!irqs_disabled());
|
|
|
|
|
|
+ lockdep_assert_irqs_disabled();
|
|
|
|
|
|
debug_work_activate(work);
|
|
debug_work_activate(work);
|
|
|
|
|