/* Return the data value specified when kthread @task was created. The caller is responsible for ensuring the validity of @task when calling this function.  */
void* kthread_data(struct task_struct *task)
/* Return the data value specified when kthread @task was created. The caller is responsible for ensuring the validity of @task when calling this function.  */
void* kthread_data(struct task_struct *task)
{
	return to_kthread(task)->data;
}