]> err.no Git - linux-2.6/commit
[POWERPC] Compare irq numbers with NO_IRQ not IRQ_NONE
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 1 Jun 2007 07:23:26 +0000 (17:23 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 2 Jun 2007 11:01:56 +0000 (21:01 +1000)
commitf5921697cf5cae68dcbfa881d9e08f3cebef47eb
treef62bed4b30a8c8258ec92dacc2da1c7f48007c22
parenta4c28ab7445f5ca60e56ffd90edb3e9fc1330b71
[POWERPC] Compare irq numbers with NO_IRQ not IRQ_NONE

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@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c