Re: [PATCH] Fix compile failure on PA-RISC

From: Alan Cox
Date: Sun May 06 2012 - 08:22:13 EST


> What NO_IRQ problem do you mean? There is
> #define NO_IRQ (-1)
> in arch/parisc/include/asm/irq.h.

It should be zero ready for us to get rid of it. Aa far as I can tell
pa-risc can just move to 0 without anything breaking. In fact some stuff
like serial port polling on 8250 ports will begin to work if it's done.

> And there are other NO_IRQ definitions in other architectures, some
> defining it to ((unsigned int)(-1)), some to 0xffffffff, some to INT_MAX,
> some to (-1) and some to (0).

Yes people are working on removing them all.

Alan
--
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/