summaryrefslogtreecommitdiffstats
path: root/kernel/workqueue_internal.h
diff options
context:
space:
mode:
authorTejun Heo2013-02-14 04:29:10 +0100
committerTejun Heo2013-02-14 04:29:10 +0100
commit8d03ecfe471802d6afe97da97722b6924533aa82 (patch)
tree1178cacfdd36358665f9a4c6325329346b221dd0 /kernel/workqueue_internal.h
parentworkqueue: fix is_chained_work() regression (diff)
downloadkernel-qcow2-linux-8d03ecfe471802d6afe97da97722b6924533aa82.tar.gz
kernel-qcow2-linux-8d03ecfe471802d6afe97da97722b6924533aa82.tar.xz
kernel-qcow2-linux-8d03ecfe471802d6afe97da97722b6924533aa82.zip
workqueue: reimplement is_chained_work() using current_wq_worker()
is_chained_work() was added before current_wq_worker() and implemented its own ham-fisted way of finding out whether %current is a workqueue worker - it iterates through all possible workers. Drop the custom implementation and reimplement using current_wq_worker(). Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions