• Tejun Heo's avatar
    kthread: implement kthread_data() · 82805ab7
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    82805ab7
kthread.c 11 KB