x86: L-APIC: Set IRQ0 as edge-triggered
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 11 Jul 2008 18:34:36 +0000 (19:34 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 18:54:02 +0000 (20:54 +0200)
commit1baea6e2fea6f235b21f32a322cb6cb43ffdb704
tree6badd627ee06db35f5ea2ed93d3061ef2a77d845
parent392a0fc96bd059b38564f5f8fb58327460cb5a9d
x86: L-APIC: Set IRQ0 as edge-triggered

 IRQ0 is edge-triggered, but the "8259A Virtual Wire" through the local
APIC configuration in the 32-bit version uses the "fasteoi" handler
suitable for level-triggered APIC interrupt.  Rewrite code so that the
"edge" handler is used.  The 64-bit version uses different code and is
unaffected.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_32.c