]> git.baikalelectronics.ru Git - kernel.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)
commit30e82d9ec5b81a33a26af6ced902d1b29971612e
tree4e26beb237403efcc9af3353a6bba58c1110be19
parent851953b898092d469338e725e21e02307292d09a
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