On Fri, 16 Mar 2007, Thomas Gleixner wrote:

> On Thu, 2007-03-15 at 17:22 -0700, Davide Libenzi wrote:
> > +static void timerfd_setup(struct timerfd_ctx *ctx, int clockid, int flags,
> > +                     const struct itimerspec *ktmr)
> > +{
> > +   enum hrtimer_mode htmode;
> > +
> > +   htmode = (flags & TFD_TIMER_ABSTIME) ? HRTIMER_MODE_ABS: 
> > HRTIMER_MODE_REL;
> > +
> > +   ctx->ticks = 0;
> > +   ctx->texp = timespec_to_ktime(ktmr->it_value);
> 
> I know, I'm racking your nerves. texp is only used for setup. No need to
> carry it in the ctx data structure. :)

Heh, I had that feeling, that I had forgot one of those :)


- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to