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 166b8c49257c..ad7cb6d1193c 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1066,8 +1066,10 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1066 | p->gtime = cputime_zero; | 1066 | p->gtime = cputime_zero; |
1067 | p->utimescaled = cputime_zero; | 1067 | p->utimescaled = cputime_zero; |
1068 | p->stimescaled = cputime_zero; | 1068 | p->stimescaled = cputime_zero; |
1069 | #ifndef CONFIG_VIRT_CPU_ACCOUNTING | ||
1069 | p->prev_utime = cputime_zero; | 1070 | p->prev_utime = cputime_zero; |
1070 | p->prev_stime = cputime_zero; | 1071 | p->prev_stime = cputime_zero; |
1072 | #endif | ||
1071 | 1073 | ||
1072 | p->default_timer_slack_ns = current->timer_slack_ns; | 1074 | p->default_timer_slack_ns = current->timer_slack_ns; |
1073 | 1075 | ||