merged. Bruce
In message: [linux-yocto][PATCH v5.2/standard/preempt-rt/base] workqueue: Fix missing transition to raw lock on 10/02/2020 [email protected] wrote: > From: He Zhe <[email protected]> > > For the following build failure. > > kernel/workqueue.c:4336:17: error: passing argument 1 of 'rt_spin_lock' from > incompatible pointer type [-Werror=incompatible-pointer-types] > 4336 | spin_lock_irq(&wq_mayday_lock); > | ^~~~~~~~~~~~~~~ > kernel/workqueue.c:4338:19: error: passing argument 1 of 'rt_spin_unlock' from > incompatible pointer type [-Werror=incompatible-pointer-types] > 4338 | spin_unlock_irq(&wq_mayday_lock); > | ^~~~~~~~~~~~~~~ > > Signed-off-by: He Zhe <[email protected]> > --- > This is for v5.2/standard/preempt-rt/base and related rt branches > > kernel/workqueue.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kernel/workqueue.c b/kernel/workqueue.c > index df43d680a3e7..592c07376050 100644 > --- a/kernel/workqueue.c > +++ b/kernel/workqueue.c > @@ -4333,9 +4333,9 @@ void destroy_workqueue(struct workqueue_struct *wq) > struct worker *rescuer = wq->rescuer; > > /* this prevents new queueing */ > - spin_lock_irq(&wq_mayday_lock); > + raw_spin_lock_irq(&wq_mayday_lock); > wq->rescuer = NULL; > - spin_unlock_irq(&wq_mayday_lock); > + raw_spin_unlock_irq(&wq_mayday_lock); > > /* rescuer will empty maydays list before exiting */ > kthread_stop(rescuer->task); > -- > 2.24.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8386): https://lists.yoctoproject.org/g/linux-yocto/message/8386 Mute This Topic: https://lists.yoctoproject.org/mt/71135736/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
