aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/io_apic.h
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-05-14 11:03:17 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 04:55:13 -0400
commit2fddb6e28e903a3ab1704cc5aac01be5a59dc05b (patch)
tree4b24d694fe60ac0be3978b9fb238fe0150328af7 /include/asm-x86/io_apic.h
parentec2cd0a22e2715f776a934e01c4f8ea098324fe1 (diff)
x86: make config_irqsrc 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/io_apic.h')
-rw-r--r--include/asm-x86/io_apic.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h
index ade76c0d03ae..86d8c3bdcca4 100644
--- a/include/asm-x86/io_apic.h
+++ b/include/asm-x86/io_apic.h
@@ -120,6 +120,16 @@ struct mp_config_ioapic {
120 unsigned char mp_flags; 120 unsigned char mp_flags;
121}; 121};
122 122
123struct mp_config_intsrc {
124 unsigned int mp_dstapic;
125 unsigned char mp_type;
126 unsigned char mp_irqtype;
127 unsigned short mp_irqflag;
128 unsigned char mp_srcbus;
129 unsigned char mp_srcbusirq;
130 unsigned char mp_dstirq;
131};
132
123/* I/O APIC entries */ 133/* I/O APIC entries */
124extern struct mp_config_ioapic mp_ioapics[MAX_IO_APICS]; 134extern struct mp_config_ioapic mp_ioapics[MAX_IO_APICS];
125 135
@@ -127,7 +137,7 @@ extern struct mp_config_ioapic mp_ioapics[MAX_IO_APICS];
127extern int mp_irq_entries; 137extern int mp_irq_entries;
128 138
129/* MP IRQ source entries */ 139/* MP IRQ source entries */
130extern struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; 140extern struct mp_config_intsrc mp_irqs[MAX_IRQ_SOURCES];
131 141
132/* non-0 if default (table-less) MP configuration */ 142/* non-0 if default (table-less) MP configuration */
133extern int mpc_default_type; 143extern int mpc_default_type;