aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 6ee4515d5a20..76080d142e3d 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -2869,7 +2869,7 @@ need_resched:
2869 2869
2870int default_wake_function(wait_queue_t *curr, unsigned mode, int sync, void *key) 2870int default_wake_function(wait_queue_t *curr, unsigned mode, int sync, void *key)
2871{ 2871{
2872 task_t *p = curr->task; 2872 task_t *p = curr->private;
2873 return try_to_wake_up(p, mode, sync); 2873 return try_to_wake_up(p, mode, sync);
2874} 2874}
2875 2875