aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kthread.c')
-rw-r--r--kernel/kthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kthread.c b/kernel/kthread.c
index 4ab4c3766a80..7e77b728f96b 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -138,7 +138,7 @@ void *kthread_data(struct task_struct *task)
138} 138}
139 139
140/** 140/**
141 * probe_kthread_data - speculative version of kthread_data() 141 * kthread_probe_data - speculative version of kthread_data()
142 * @task: possible kthread task in question 142 * @task: possible kthread task in question
143 * 143 *
144 * @task could be a kthread task. Return the data value specified when it 144 * @task could be a kthread task. Return the data value specified when it
@@ -146,7 +146,7 @@ void *kthread_data(struct task_struct *task)
146 * inaccessible for any reason, %NULL is returned. This function requires 146 * inaccessible for any reason, %NULL is returned. This function requires
147 * that @task itself is safe to dereference. 147 * that @task itself is safe to dereference.
148 */ 148 */
149void *probe_kthread_data(struct task_struct *task) 149void *kthread_probe_data(struct task_struct *task)
150{ 150{
151 struct kthread *kthread = to_kthread(task); 151 struct kthread *kthread = to_kthread(task);
152 void *data = NULL; 152 void *data = NULL;