Re: [PATCH 1/4] x86: add NO_IRQ macro

From: Alan Cox
Date: Thu Mar 01 2012 - 09:06:32 EST


On Thu, 1 Mar 2012 14:28:36 +0100
Alessandro Rubini <rubini@xxxxxxxxx> wrote:

> This is needed to compile AMBA drivers. Most architectures define
> NO_IRQ as -1, and this does the same for the PC.

NAK

"No IRQ" is 0. There are a few platforms which incorrectly still define it
as -1 but they are broken and in fact many drivers won't work with
platforms that still incorrectly use -1. Nothing should be using a
NO_IRQ define.

Fix the users.


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/