diff options
author | Joonsoo Kim <js1304@gmail.com> | 2012-08-15 23:25:37 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-08-16 14:21:15 -0700 |
commit | b75cac9368fa91636e17d0f7950b35d837154e14 (patch) | |
tree | 7f5fcdb6f57da351732c46d67b5d9d001fa54a0b /kernel/lockdep_proc.c | |
parent | 330dad5b9c9555632578c00e94e85c122561c5c7 (diff) | |
download | blackbird-op-linux-b75cac9368fa91636e17d0f7950b35d837154e14.tar.gz blackbird-op-linux-b75cac9368fa91636e17d0f7950b35d837154e14.zip |
workqueue: correct req_cpu in trace_workqueue_queue_work()
When we do tracing workqueue_queue_work(), it records requested cpu.
But, if !(@wq->flag & WQ_UNBOUND) and @cpu is WORK_CPU_UNBOUND,
requested cpu is changed as local cpu.
In case of @wq->flag & WQ_UNBOUND, above change is not occured,
therefore it is reasonable to correct it.
Use temporary local variable for storing requested cpu.
Signed-off-by: Joonsoo Kim <js1304@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/lockdep_proc.c')
0 files changed, 0 insertions, 0 deletions