x86: PIC, L-APIC and I/O APIC debug information
authorMaciej W. Rozycki <macro@linux-mips.org>
Sun, 20 Jul 2008 23:52:49 +0000 (00:52 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Jul 2008 10:37:10 +0000 (12:37 +0200)
commit32f71aff77b6470d272f80ac28f43f9601c4d140
tree92e34f77aa71472179f4d171a151cf7af9c6b6fa
parent338b9bb3adac0d2c5a1e180491d9b001d624c402
x86: PIC, L-APIC and I/O APIC debug information

 Dump all the PIC, local APIC and I/O APIC information at the
fs_initcall() level, which is after ACPI (if used) has initialised PCI
information, making the point of invocation consistent across MP-table and
ACPI platforms.  Remove explicit calls to print_IO_APIC() from elsewhere.
Make the interface of all the functions involved consistent between 32-bit
and 64-bit versions and make them all static by default by the means of a
New-and-Improved(TM) __apicdebuginit() macro.

 Note that like print_IO_APIC() all these only output anything if
"apic=debug" has been passed to the kernel through the command line.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/io_apic_64.c
arch/x86/pci/acpi.c
include/asm-x86/hw_irq.h