On Monday 21 January 2013, Vineet Gupta wrote:
> -               while (!need_resched())
> +doze:
> +               local_irq_disable();
> +               if (!need_resched()) {
>                         arch_idle();
> +                       goto doze;
> +               } else {
> +                       local_irq_enable();
> +               }
> 

Ok, that looks like it will work.

        Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
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