diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 79392916d6c9..5d10fa0b6002 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2209,6 +2209,7 @@ void thread_group_cputimer(struct task_struct *tsk, struct task_cputime *times) | |||
2209 | unsigned long flags; | 2209 | unsigned long flags; |
2210 | 2210 | ||
2211 | spin_lock_irqsave(&cputimer->lock, flags); | 2211 | spin_lock_irqsave(&cputimer->lock, flags); |
2212 | cputimer->running = 1; | ||
2212 | *times = cputimer->cputime; | 2213 | *times = cputimer->cputime; |
2213 | spin_unlock_irqrestore(&cputimer->lock, flags); | 2214 | spin_unlock_irqrestore(&cputimer->lock, flags); |
2214 | } | 2215 | } |