[PATCH] powerpc: Avoid pointless WARN_ON(irqs_disabled()) from panic codepath

Satyam Sharma satyam at infradead.org
Tue Sep 18 10:08:57 EST 2007

On Tue, 18 Sep 2007, Satyam Sharma wrote:
> > ------------[ cut here ]------------
> > Badness at arch/powerpc/kernel/smp.c:202
> comes when smp_call_function_map() has been called with irqs disabled,
> which is illegal. However, there is a special case, the panic() codepath,
> when we do not want to warn about this -- warning at that time is pointless
> anyway, and only serves to scroll away the *real* cause of the panic and
> distracts from the real bug.

BTW arch/ppc/ has same issue, but that's gonna be removed by next year
anyways, so I think there's no point making a patch for that (?)

More information about the Linuxppc-dev mailing list