Re: [PATCHv6 16/16] pps: add parallel port PPS signal generator

Andrew Morton
2010-12-18T00:19:14Z

On Fri, 17 Dec 2010 22:54:40 +0300
Alexander Gordeev <lasaine@lvk.cs.msu.su> wrote:

> +static enum hrtimer_restart hrtimer_event(struct hrtimer *timer)
> +{
> + struct timespec expire_time, ts1, ts2, ts3, dts;
> + struct pps_generator_pp *dev;
> + struct parport *port;
> + long lim, delta;
> + unsigned long flags;
> +
> + /* NB: approx time with blocked interrupts =
> + send_delay + 3 * SAFETY_INTERVAL */
> + local_irq_save(flags);

ditto.