Re: [stable] [PATCH] x86: Reserve FIRST_DEVICE_VECTOR inused_vectors bitmap

From: Alan Cox
Date: Fri Oct 10 2008 - 17:49:39 EST


> > And more importantly dev->irq == 0 or IRQ == 0 to anything but arch
> > internal code means "no interrupt line".
>
> I thought we had changed that a while ago, as some arches had 0 as a
> valid irq line.

No .. Linus decreed (and I think sensibly myself that IRQ = 0 meant no
IRQ assigned).. the argument being that in C you naturally write stuff
like

if (!dev->irq)

I can dig up the reference URLS to the list mails if you want
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/