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)
commit2eaebdb33e1911c0cf3d44fd3596c42c6f502fab
tree240924aae7c1ce31dc850a290ef53e268f071ebd
parentea138446e51f7bfe55cdeffa3f1dd9cafc786bd8
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