]> git.baikalelectronics.ru Git - kernel.git/commit
workqueue: move struct worker definition to workqueue_internal.h
authorTejun Heo <tj@kernel.org>
Fri, 18 Jan 2013 22:05:55 +0000 (14:05 -0800)
committerTejun Heo <tj@kernel.org>
Fri, 18 Jan 2013 22:05:55 +0000 (14:05 -0800)
commit12d806bdc4e58c9844b745bd1c9821f896914290
tree240924aae7c1ce31dc850a290ef53e268f071ebd
parent6e43b96995278d5ae21c2c46c9be4569185f0634
workqueue: move struct worker definition to workqueue_internal.h

This will be used to implement an inline function to query whether
%current is a workqueue worker and, if so, allow determining which
work item it's executing.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
kernel/workqueue.c
kernel/workqueue_internal.h