aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 82251c21f785..b3d4e2be95aa 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5192,8 +5192,7 @@ void task_times(struct task_struct *p, cputime_t *ut, cputime_t *st)
5192#else 5192#else
5193 5193
5194#ifndef nsecs_to_cputime 5194#ifndef nsecs_to_cputime
5195# define nsecs_to_cputime(__nsecs) \ 5195# define nsecs_to_cputime(__nsecs) nsecs_to_jiffies(__nsecs)
5196 msecs_to_cputime(div_u64((__nsecs), NSEC_PER_MSEC))
5197#endif 5196#endif
5198 5197
5199void task_times(struct task_struct *p, cputime_t *ut, cputime_t *st) 5198void task_times(struct task_struct *p, cputime_t *ut, cputime_t *st)