diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 997ac1d584f7..600e93b5e539 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1551,7 +1551,9 @@ static __latent_entropy struct task_struct *copy_process( | |||
1551 | init_sigpending(&p->pending); | 1551 | init_sigpending(&p->pending); |
1552 | 1552 | ||
1553 | p->utime = p->stime = p->gtime = 0; | 1553 | p->utime = p->stime = p->gtime = 0; |
1554 | #ifdef CONFIG_ARCH_HAS_SCALED_CPUTIME | ||
1554 | p->utimescaled = p->stimescaled = 0; | 1555 | p->utimescaled = p->stimescaled = 0; |
1556 | #endif | ||
1555 | prev_cputime_init(&p->prev_cputime); | 1557 | prev_cputime_init(&p->prev_cputime); |
1556 | 1558 | ||
1557 | #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN | 1559 | #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN |