On Wed, 2012-09-12 at 16:13 +0200, Stephane Eranian wrote:

>  void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t clock_id,
>                          enum hrtimer_mode mode)
>  {
>       debug_object_init_on_stack(timer, &hrtimer_debug_descr);
> -     __hrtimer_init(timer, clock_id, mode);
> +     __hrtimer_init(smp_processor_id(), timer, clock_id, mode);
>  }

This assumes caller is in non preemptable context.



--
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