]> git.karo-electronics.de Git - mv-sheeva.git/commit
x86: L-APIC: Always fully configure IRQ0
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 11 Jul 2008 18:35:17 +0000 (19:35 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 18:54:02 +0000 (20:54 +0200)
commitc88ac1df4885ce0d762cfeff0e7d5b83725c1e5c
tree4e26beb237403efcc9af3353a6bba58c1110be19
parent1baea6e2fea6f235b21f32a322cb6cb43ffdb704
x86: L-APIC: Always fully configure IRQ0

Unlike the 32-bit one, the 64-bit variation of the LVT0 setup code for
the "8259A Virtual Wire" through the local APIC timer configuration does
not fully configure the relevant irq_chip structure.  Instead it relies on
the preceding I/O APIC code to have set it up, which does not happen if
the I/O APIC variants have not been tried.

The patch includes corresponding changes to the 32-bit variation too
which make them both the same, barring a small syntactic difference
involving sequence of functions in the source.  That should work as an aid
with the upcoming merge.

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
arch/x86/kernel/io_apic_64.c