summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/io_apic.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2011-05-18 16:31:35 -0700
committerIngo Molnar <mingo@elte.hu>2011-05-20 13:40:56 +0200
commitb69c6c3becc102f3eebc4ebba582abfe76be3f45 (patch)
tree3c31978e0dcdbe372208d6eaed691ab171f0ede3 /arch/x86/include/asm/io_apic.h
parent15bac20bd8a039e9acb274785be82772e1237eed (diff)
downloadlwn-b69c6c3becc102f3eebc4ebba582abfe76be3f45.tar.gz
lwn-b69c6c3becc102f3eebc4ebba582abfe76be3f45.zip
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>
Diffstat (limited to 'arch/x86/include/asm/io_apic.h')
-rw-r--r--arch/x86/include/asm/io_apic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/io_apic.h b/arch/x86/include/asm/io_apic.h
index f46984e45094..147700a3f56c 100644
--- a/arch/x86/include/asm/io_apic.h
+++ b/arch/x86/include/asm/io_apic.h
@@ -105,7 +105,6 @@ struct IR_IO_APIC_route_entry {
* # of IO-APICs and # of IRQ routing registers
*/
extern int nr_ioapics;
-extern int nr_ioapic_registers[MAX_IO_APICS];
#define MP_MAX_IOAPIC_PIN 127