[RFC PATCH v2 09/11] powerpc: gamecube/wii: flipper interrupt controller support

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Dec 3 07:56:41 EST 2009


On Tue, 2009-12-01 at 20:48 +0100, Albert Herranz wrote:
> 
> This -1 should be NO_IRQ too.
> I'll fix this in the next version.

No. The number you pass here is not a linux virq number, but a number in
your HW numbering space that never represents a valid IRQ. In your case
0 (NO_IRQ is deprecated anyways) is a valid HW interrupt number. However
-1 sounds good.

So your existing code is fine.

Cheers,
Ben.




More information about the Linuxppc-dev mailing list