diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 58ddf6259afb..290cb57f4697 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -319,23 +319,23 @@ static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early) | |||
319 | case MP_PROCESSOR: | 319 | case MP_PROCESSOR: |
320 | /* ACPI may have already provided this data */ | 320 | /* ACPI may have already provided this data */ |
321 | if (!acpi_lapic) | 321 | if (!acpi_lapic) |
322 | MP_processor_info((struct mpc_cpu *)&mpt); | 322 | MP_processor_info((struct mpc_cpu *)mpt); |
323 | skip_entry(&mpt, &count, sizeof(struct mpc_cpu)); | 323 | skip_entry(&mpt, &count, sizeof(struct mpc_cpu)); |
324 | break; | 324 | break; |
325 | case MP_BUS: | 325 | case MP_BUS: |
326 | MP_bus_info((struct mpc_bus *)&mpt); | 326 | MP_bus_info((struct mpc_bus *)mpt); |
327 | skip_entry(&mpt, &count, sizeof(struct mpc_bus)); | 327 | skip_entry(&mpt, &count, sizeof(struct mpc_bus)); |
328 | break; | 328 | break; |
329 | case MP_IOAPIC: | 329 | case MP_IOAPIC: |
330 | MP_ioapic_info((struct mpc_ioapic *)&mpt); | 330 | MP_ioapic_info((struct mpc_ioapic *)mpt); |
331 | skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); | 331 | skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); |
332 | break; | 332 | break; |
333 | case MP_INTSRC: | 333 | case MP_INTSRC: |
334 | MP_intsrc_info((struct mpc_intsrc *)&mpt); | 334 | MP_intsrc_info((struct mpc_intsrc *)mpt); |
335 | skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); | 335 | skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); |
336 | break; | 336 | break; |
337 | case MP_LINTSRC: | 337 | case MP_LINTSRC: |
338 | MP_lintsrc_info((struct mpc_lintsrc *)&mpt); | 338 | MP_lintsrc_info((struct mpc_lintsrc *)mpt); |
339 | skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc)); | 339 | skip_entry(&mpt, &count, sizeof(struct mpc_lintsrc)); |
340 | break; | 340 | break; |
341 | default: | 341 | default: |
@@ -902,7 +902,7 @@ static int __init replace_intsrc_all(struct mpc_table *mpc, | |||
902 | skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); | 902 | skip_entry(&mpt, &count, sizeof(struct mpc_ioapic)); |
903 | break; | 903 | break; |
904 | case MP_INTSRC: | 904 | case MP_INTSRC: |
905 | check_irq_src((struct mpc_intsrc *)&mpt, &nr_m_spare); | 905 | check_irq_src((struct mpc_intsrc *)mpt, &nr_m_spare); |
906 | skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); | 906 | skip_entry(&mpt, &count, sizeof(struct mpc_intsrc)); |
907 | break; | 907 | break; |
908 | case MP_LINTSRC: | 908 | case MP_LINTSRC: |