Skip to content

Commit

Permalink
temp fix. will add hypervisor init logic later
Browse files Browse the repository at this point in the history
  • Loading branch information
rianquinn committed Jan 5, 2019
1 parent 9097a05 commit 957d0ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/apic/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1753,13 +1753,13 @@ static __init void try_to_enable_x2apic(int remap_mode)
/* IR is required if there is APIC ID > 255 even when running
* under KVM
*/
if (max_physical_apicid > 255 ||
/* if (max_physical_apicid > 255 ||
!x86_init.hyper.x2apic_available()) {
pr_info("x2apic: IRQ remapping doesn't support X2APIC mode\n");
x2apic_disable();
return;
}

*/
/*
* without IR all CPUs can be addressed by IOAPIC/MSI
* only in physical mode
Expand Down

0 comments on commit 957d0ed

Please sign in to comment.