| Date | Fri, 13 Jul 2012 08:00:35 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec |
| |
* John Stultz <john.stultz@linaro.org> wrote:
> +static void tk_set_xtime(struct timekeeper *tk, const struct timespec *ts) > +{ > + tk->xtime_sec = ts->tv_sec; > + tk->xtime_nsec = ts->tv_nsec << tk->shift; > +} > + > + > +static void tk_xtime_add(struct timekeeper *tk, const struct timespec *ts)
Small nit: there's a stray newline here.
> +{ > + tk->xtime_sec += ts->tv_sec; > + tk->xtime_nsec += ts->tv_nsec << tk->shift; > +} > + > > /**
Ditto.
Thanks,
Ingo
|