Skip to content

Commit

Permalink
x86: don't set io apic features if io-apic is not enabled, fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Apr 17, 2008
1 parent 61048c6 commit ba1ce61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arch/x86/kernel/mpparse_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,9 @@ static int __init smp_read_mpc(struct mp_config_table *mpc)
struct mpc_config_ioapic *m=
(struct mpc_config_ioapic *)mpt;
MP_ioapic_info(m);
mpt+=sizeof(*m);
count+=sizeof(*m);
#endif
mpt+=sizeof(struct mpc_config_ioapic);
count+=sizeof(struct mpc_config_ioapic);
break;
}
case MP_INTSRC:
Expand All @@ -441,9 +441,9 @@ static int __init smp_read_mpc(struct mp_config_table *mpc)
(struct mpc_config_intsrc *)mpt;

MP_intsrc_info(m);
mpt+=sizeof(*m);
count+=sizeof(*m);
#endif
mpt+=sizeof(struct mpc_config_intsrc);
count+=sizeof(struct mpc_config_intsrc);
break;
}
case MP_LINTSRC:
Expand Down

0 comments on commit ba1ce61

Please sign in to comment.