diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 0dc757246d89..0c5ebf59b8bc 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3566,7 +3566,7 @@ switch_tasks: | |||
3566 | 3566 | ||
3567 | sched_info_switch(prev, next); | 3567 | sched_info_switch(prev, next); |
3568 | if (likely(prev != next)) { | 3568 | if (likely(prev != next)) { |
3569 | next->timestamp = now; | 3569 | next->timestamp = next->last_ran = now; |
3570 | rq->nr_switches++; | 3570 | rq->nr_switches++; |
3571 | rq->curr = next; | 3571 | rq->curr = next; |
3572 | ++*switch_count; | 3572 | ++*switch_count; |