.. | .. |
---|
87 | 87 | |
---|
88 | 88 | struct kthread_worker { |
---|
89 | 89 | unsigned int flags; |
---|
90 | | - spinlock_t lock; |
---|
| 90 | + raw_spinlock_t lock; |
---|
91 | 91 | struct list_head work_list; |
---|
92 | 92 | struct list_head delayed_work_list; |
---|
93 | 93 | struct task_struct *task; |
---|
.. | .. |
---|
108 | 108 | }; |
---|
109 | 109 | |
---|
110 | 110 | #define KTHREAD_WORKER_INIT(worker) { \ |
---|
111 | | - .lock = __SPIN_LOCK_UNLOCKED((worker).lock), \ |
---|
| 111 | + .lock = __RAW_SPIN_LOCK_UNLOCKED((worker).lock), \ |
---|
112 | 112 | .work_list = LIST_HEAD_INIT((worker).work_list), \ |
---|
113 | 113 | .delayed_work_list = LIST_HEAD_INIT((worker).delayed_work_list),\ |
---|
114 | 114 | } |
---|