mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-23 11:09:52 +07:00
x86: don't set io apic features if io-apic is not enabled, fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
61048c6328
commit
ba1ce61ff2
@ -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:
|
||||
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user