mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 14:36:51 +07:00
x86: clearing io_apic harmless for x86_64
so remove ifdef. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
3e9704739d
commit
0f385d1ddd
@ -1052,9 +1052,8 @@ static __init void disable_smp(void)
|
||||
{
|
||||
cpu_present_map = cpumask_of_cpu(0);
|
||||
cpu_possible_map = cpumask_of_cpu(0);
|
||||
#ifdef CONFIG_X86_32
|
||||
smpboot_clear_io_apic_irqs();
|
||||
#endif
|
||||
|
||||
if (smp_found_config)
|
||||
physid_set_mask_of_physid(boot_cpu_physical_apicid, &phys_cpu_present_map);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user