[PATCH 1/1] Use NO_IRQ not IRQ_NONE

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Jun 1 17:47:32 EST 2007


On Fri, 2007-06-01 at 17:23 +1000, Michael Ellerman wrote:
> There is a thinko in the irq code, it uses IRQ_NONE to indicate no irq,
> whereas it should be using NO_IRQ. IRQ_NONE is returned from irq handlers
> to say "not handled".
> 
> As it happens they currently have the same value (0), so this is just for
> future proof-ness.
> 
> Signed-off-by: Michael Ellerman <michael at ellerman.id.au>

Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---

My fault actually :-) Mostly a typo, it's right elsewhere in the code
except in those 3 occurences. Brown paper bag time for me.

Cheers,
Ben.





More information about the Linuxppc-dev mailing list