From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Thu, 1 Mar 2012 14:11:53 +0000 Subject: [PATCH 1/4] x86: add NO_IRQ macro In-Reply-To: <20120301140753.5c44e27e@pyramind.ukuu.org.uk> References: <6bda7538144dce0bf5780df3d0601147dae753b5.1330607068.git.rubini@gnudd.com> <20120301140753.5c44e27e@pyramind.ukuu.org.uk> Message-ID: <20120301141153.GH7363@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Mar 01, 2012 at 02:07:53PM +0000, Alan Cox wrote: > On Thu, 1 Mar 2012 14:28:36 +0100 > Alessandro Rubini 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. The users in this area are fixed and have been 'fixed' since December, it's just going to take a couple of kernel cycles to get rid of it in a sane way without causing breakage. And yes, this has fallen squarely on my shoulders to 'fix' because no one else is the least bit interested in the problem. So, as I'm about the only one who has done any work towards this, you can expect NO_IRQ to take a long time to finally go away.