aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 3454bb869fd0..e82c99f1db64 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4335,6 +4335,7 @@ void __devinit init_idle(task_t *idle, int cpu)
4335 runqueue_t *rq = cpu_rq(cpu); 4335 runqueue_t *rq = cpu_rq(cpu);
4336 unsigned long flags; 4336 unsigned long flags;
4337 4337
4338 idle->timestamp = sched_clock();
4338 idle->sleep_avg = 0; 4339 idle->sleep_avg = 0;
4339 idle->array = NULL; 4340 idle->array = NULL;
4340 idle->prio = MAX_PRIO; 4341 idle->prio = MAX_PRIO;