Re: [PATCH] ata: Don't use NO_IRQ in pata_of_platform driver

From: Geert Uytterhoeven
Date: Tue Dec 06 2011 - 06:00:18 EST


On Tue, Dec 6, 2011 at 11:46, Russell King - ARM Linux
<linux@xxxxxxxxxxxxxxxx> wrote:
> But.. let's make one thing clear: Alan Cox and Linus have been going on
> about how IRQ0 should not be used. ÂLet's be crystal clear: even x86
> uses IRQ0. ÂIt happens to be the PIC timer, and that gets claimed early
> on during the x86 boot. ÂSo please don't tell me that x86 avoids IRQ0.
> It doesn't. ÂIt just happens that x86 never shows IRQ0 to anything but
> the i8253 PIC driver.

It's shown in /proc/interrupts due to a "bug" in show_interrupts().
The (gmail damaged) patch below fixes this bug.