x86, ioapic: Factor out print_IO_APIC() to only print one io apic
authorYinghai Lu <yinghai.lu@oracle.com>
Wed, 12 Oct 2011 07:33:39 +0000 (00:33 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Oct 2011 07:55:25 +0000 (09:55 +0200)
commitcda417dd87ed46f58cbc7d3f075ebe42b4462140
tree1b7b50132f95512a3353afacb7bd2390d3cf87ed
parent3a61d7feca055152c2c6870d1f8dfbc3443bd1b3
x86, ioapic: Factor out print_IO_APIC() to only print one io apic

It is getting too big after the interrupt remaping entries debug
print out was added.

Original print_IO_APIC() becomes print_IO_APICs().
New print_IO_APIC() will only print one ioapic's registers

As a side-effect this clean-up also made checkpatch.pl happier.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/4E9542D3.5000008@oracle.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c