diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-05-14 11:03:17 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 04:55:13 -0400 |
commit | 2fddb6e28e903a3ab1704cc5aac01be5a59dc05b (patch) | |
tree | 4b24d694fe60ac0be3978b9fb238fe0150328af7 /include/asm-x86/io_apic.h | |
parent | ec2cd0a22e2715f776a934e01c4f8ea098324fe1 (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.h | 12 |
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 | ||
123 | struct 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 */ |
124 | extern struct mp_config_ioapic mp_ioapics[MAX_IO_APICS]; | 134 | extern 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]; | |||
127 | extern int mp_irq_entries; | 137 | extern int mp_irq_entries; |
128 | 138 | ||
129 | /* MP IRQ source entries */ | 139 | /* MP IRQ source entries */ |
130 | extern struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; | 140 | extern 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 */ |
133 | extern int mpc_default_type; | 143 | extern int mpc_default_type; |