Commit [82805a] Maximize Restore History

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>

Tejun Heo Tejun Heo 2010-06-29

changed include/linux/kthread.h
changed kernel/kthread.c
include/linux/kthread.h Diff Switch to side-by-side view
Loading...
kernel/kthread.c Diff Switch to side-by-side view
Loading...