[PATCH 3/3] powerpc: fix comment in kernel/irq.c

Johannes Berg johannes at sipsolutions.net
Wed Dec 20 05:29:34 EST 2006


On Tue, 2006-12-19 at 16:40 +1100, Paul Mackerras wrote:
> Johannes Berg writes:
> 
> > kernel/irq.c contains a comment that speaks of -1 and -2 as interrupt
> > numbers, but this is actually dependent on configuration options now.
> > Replace by NO_IRQ and NO_IRQ_ENABLED.
> 
> Hmmm, NO_IRQ has to be 0, if anything, per decree of the head penguin.

I thought so too but then I found that under some conditions it's
actually defined to -1, so I was confused. Maybe that is wrong then?

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20061219/ebfa6ec5/attachment.pgp>


More information about the Linuxppc-dev mailing list