Benjamin Herrenschmidt wrote: > 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. >
Oh. Good to know. Then I need to fix the other PIC driver :) > Cheers, > Ben. > Thanks, Albert _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev