]> git.baikalelectronics.ru Git - kernel.git/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)
commit23ef3ce79001a1756091cdaa010728d2d04d3b8f
treef62bed4b30a8c8258ec92dacc2da1c7f48007c22
parent51324d3660c4c549a9c89bf1b1cf3dacbffd345b
[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