x86, ioapic: Add struct ioapic
authorSuresh Siddha <suresh.b.siddha@intel.com>
Wed, 18 May 2011 23:31:35 +0000 (16:31 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 May 2011 11:40:56 +0000 (13:40 +0200)
commitb69c6c3becc102f3eebc4ebba582abfe76be3f45
tree3c31978e0dcdbe372208d6eaed691ab171f0ede3
parent15bac20bd8a039e9acb274785be82772e1237eed
x86, ioapic: Add struct ioapic

Introduce struct ioapic with nr_registers field.

This will pave way for consolidating different MAX_IO_APICS
arrays into it.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: daniel.blueman@gmail.com
Link: http://lkml.kernel.org/r/20110518233157.744315519@sbsiddha-MOBL3.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/io_apic.c