Re: [PATCH] fix WARN() for PPC

From: Arjan van de Ven
Date: Wed Oct 22 2008 - 16:31:39 EST


On Wed, 22 Oct 2008 13:23:21 -0700
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> Arjan van de Ven wrote:
> > From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> > Date: Mon, 20 Oct 2008 14:41:03 -0700
> > Subject: [PATCH] fix WARN() for PPC
> >
> > powerpc doesn't use the generic WARN_ON infrastructure.
>
> Hm, why's that now? The generic infrastructure was taken from
> powerpc, and I thought I'd converted it...
>

it uses a BUG like trap rather than the normal WARN_ON() being a
function call to lib/bug.c


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/