aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/x2apic_phys.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/apic/x2apic_phys.c')
-rw-r--r--arch/x86/kernel/apic/x2apic_phys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/x2apic_phys.c b/arch/x86/kernel/apic/x2apic_phys.c
index 6fae733e9194..3ffd925655e0 100644
--- a/arch/x86/kernel/apic/x2apic_phys.c
+++ b/arch/x86/kernel/apic/x2apic_phys.c
@@ -21,11 +21,13 @@ early_param("x2apic_phys", set_x2apic_phys_mode);
21 21
22static bool x2apic_fadt_phys(void) 22static bool x2apic_fadt_phys(void)
23{ 23{
24#ifdef CONFIG_ACPI
24 if ((acpi_gbl_FADT.header.revision >= FADT2_REVISION_ID) && 25 if ((acpi_gbl_FADT.header.revision >= FADT2_REVISION_ID) &&
25 (acpi_gbl_FADT.flags & ACPI_FADT_APIC_PHYSICAL)) { 26 (acpi_gbl_FADT.flags & ACPI_FADT_APIC_PHYSICAL)) {
26 printk(KERN_DEBUG "System requires x2apic physical mode\n"); 27 printk(KERN_DEBUG "System requires x2apic physical mode\n");
27 return true; 28 return true;
28 } 29 }
30#endif
29 return false; 31 return false;
30} 32}
31 33