summaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-05-14 17:03:10 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 10:55:13 +0200
commitec2cd0a22e2715f776a934e01c4f8ea098324fe1 (patch)
treea0270f2fd50ef243c867cfb51d89ecf9bdae58d3 /include/asm-x86
parentx86: make mp_ioapic_routing definition local (diff)
downloadlinux-ec2cd0a22e2715f776a934e01c4f8ea098324fe1.tar.xz
linux-ec2cd0a22e2715f776a934e01c4f8ea098324fe1.zip
x86: make struct config_ioapic not MPspec specific
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/io_apic.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h
index 2ef96f0596e2..ade76c0d03ae 100644
--- a/include/asm-x86/io_apic.h
+++ b/include/asm-x86/io_apic.h
@@ -112,8 +112,16 @@ extern int nr_ioapic_registers[MAX_IO_APICS];
#define MP_MAX_IOAPIC_PIN 127
+struct mp_config_ioapic {
+ unsigned long mp_apicaddr;
+ unsigned int mp_apicid;
+ unsigned char mp_type;
+ unsigned char mp_apicver;
+ unsigned char mp_flags;
+};
+
/* I/O APIC entries */
-extern struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS];
+extern struct mp_config_ioapic mp_ioapics[MAX_IO_APICS];
/* # of MP IRQ source entries */
extern int mp_irq_entries;