From: Joonsoo Kim Date: Wed, 15 Aug 2012 14:25:37 +0000 (+0900) Subject: workqueue: correct req_cpu in trace_workqueue_queue_work() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~52^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b75cac9368fa91636e17d0f7950b35d837154e14;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo --- Reading git-diff-tree failed