Messages in this thread | | | Date | Fri, 22 May 2009 16:08:34 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH resend4 1/3] itimers: merge ITIMER_VIRT and ITIMER_PROF common code |
| |
Stanislaw,
On Fri, 22 May 2009, Stanislaw Gruszka wrote: > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -790,10 +790,10 @@ static void posix_cpu_timers_init_group(struct signal_struct *sig) > thread_group_cputime_init(sig); > > /* Expiration times and increments. */ > - sig->it_virt_expires = cputime_zero; > - sig->it_virt_incr = cputime_zero; > - sig->it_prof_expires = cputime_zero; > - sig->it_prof_incr = cputime_zero; > + sig->it[0].expires = cputime_zero; > + sig->it[0].incr = cputime_zero; > + sig->it[1].expires = cputime_zero; > + sig->it[1].incr = cputime_zero;
Nit, can we please use CPUCLOCK_PROF/VIRT instead of 0/1 ?
Thanks,
tglx
| |