diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 2845623fb582..6ac894244d39 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1101,7 +1101,7 @@ static void posix_cpu_timers_init_group(struct signal_struct *sig) | |||
1101 | cpu_limit = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); | 1101 | cpu_limit = READ_ONCE(sig->rlim[RLIMIT_CPU].rlim_cur); |
1102 | if (cpu_limit != RLIM_INFINITY) { | 1102 | if (cpu_limit != RLIM_INFINITY) { |
1103 | sig->cputime_expires.prof_exp = secs_to_cputime(cpu_limit); | 1103 | sig->cputime_expires.prof_exp = secs_to_cputime(cpu_limit); |
1104 | sig->cputimer.running = 1; | 1104 | sig->cputimer.running = true; |
1105 | } | 1105 | } |
1106 | 1106 | ||
1107 | /* The timer lists. */ | 1107 | /* The timer lists. */ |