> -     hard_irq_disable();
> -     if (!lazy_irq_pending())
> +     if (prep_irq_for_idle()) {
>               cede_processor();
> +#ifdef CONFIG_TRACE_IRQFLAG

this is IRQFLAGS (missing "S"). I'll fix it while I commit, the same
typo is in another place in irq.c as well, I'll commit a fix for that
too and shoot the whole thing to Linus.
 
> +             /* Ensure that H_CEDE returns with IRQs on */
> +             WARN_ON(!(mfmsr() & MSR_EE));
> +#endif
> +     }
>  }
>  
>  static int dedicated_cede_loop(struct cpuidle_device *dev,
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to