diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-05-14 11:03:10 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 04:55:13 -0400 |
commit | ec2cd0a22e2715f776a934e01c4f8ea098324fe1 (patch) | |
tree | a0270f2fd50ef243c867cfb51d89ecf9bdae58d3 /arch/x86/kernel/mpparse.c | |
parent | 5f8951487ddbacbc949e9ffae574f94791f9b4dd (diff) |
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 'arch/x86/kernel/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index d05b70c329c4..9f1e5bf7f0fb 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -176,7 +176,11 @@ static void __init MP_ioapic_info(struct mpc_config_ioapic *m) | |||
176 | if (bad_ioapic(m->mpc_apicaddr)) | 176 | if (bad_ioapic(m->mpc_apicaddr)) |
177 | return; | 177 | return; |
178 | 178 | ||
179 | mp_ioapics[nr_ioapics] = *m; | 179 | mp_ioapics[nr_ioapics].mp_apicaddr = m->mpc_apicaddr; |
180 | mp_ioapics[nr_ioapics].mp_apicid = m->mpc_apicid; | ||
181 | mp_ioapics[nr_ioapics].mp_type = m->mpc_type; | ||
182 | mp_ioapics[nr_ioapics].mp_apicver = m->mpc_apicver; | ||
183 | mp_ioapics[nr_ioapics].mp_flags = m->mpc_flags; | ||
180 | nr_ioapics++; | 184 | nr_ioapics++; |
181 | } | 185 | } |
182 | 186 | ||
@@ -426,7 +430,7 @@ static void __init construct_default_ioirq_mptable(int mpc_default_type) | |||
426 | intsrc.mpc_type = MP_INTSRC; | 430 | intsrc.mpc_type = MP_INTSRC; |
427 | intsrc.mpc_irqflag = 0; /* conforming */ | 431 | intsrc.mpc_irqflag = 0; /* conforming */ |
428 | intsrc.mpc_srcbus = 0; | 432 | intsrc.mpc_srcbus = 0; |
429 | intsrc.mpc_dstapic = mp_ioapics[0].mpc_apicid; | 433 | intsrc.mpc_dstapic = mp_ioapics[0].mp_apicid; |
430 | 434 | ||
431 | intsrc.mpc_irqtype = mp_INT; | 435 | intsrc.mpc_irqtype = mp_INT; |
432 | 436 | ||