commit | 82805ab77d25643f579d90397dcd34f05d1b750a | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Jun 29 10:07:09 2010 +0200 |
committer | Tejun Heo <tj@kernel.org> | Tue Jun 29 10:07:09 2010 +0200 |
tree | 4e5fd250d8625e032250fd02101c3b6ce595cbbf | |
parent | 7bc465605ffa90b281d6b774fcb13911636a6d45 [diff] |
kthread: implement kthread_data() Implement kthread_data() which takes @task pointing to a kthread and returns @data specified when creating the kthread. The caller is responsible for ensuring the validity of @task when calling this function. Signed-off-by: Tejun Heo <tj@kernel.org>