Message ID | 20191211113351.24240-1-hdanton@sina.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | workqueue: fix selecting cpu for queuing work and cleanup | expand |
--- e/kernel/workqueue.c +++ f/kernel/workqueue.c @@ -1393,7 +1393,7 @@ static void __queue_work(int cpu, struct struct worker_pool *last_pool; struct list_head *worklist; unsigned int work_flags; - unsigned int req_cpu = cpu; + int req_cpu = cpu; /* * While a work item is PENDING && off queue, a task trying to
It's a minor cleanup, see d84ff0512f1b ("workqueue: consistently use int for @cpu variables") for reasons. Signed-off-by: Hillf Danton <hdanton@sina.com> ---