diff --git a/arch/i386/kernel/acpi/earlyquirk.c b/arch/i386/kernel/acpi/earlyquirk.c index 087ecc67e9b3..1ae2aeeda18b 100644 --- a/arch/i386/kernel/acpi/earlyquirk.c +++ b/arch/i386/kernel/acpi/earlyquirk.c @@ -7,6 +7,7 @@ #include #include #include +#include static int __init check_bridge(int vendor, int device) { @@ -15,6 +16,7 @@ static int __init check_bridge(int vendor, int device) if (vendor == PCI_VENDOR_ID_NVIDIA) { acpi_skip_timer_override = 1; } +#ifdef CONFIG_X86_LOCAL_APIC /* * ATI IXP chipsets get double timer interrupts. * For now just do this for all ATI chipsets. @@ -22,6 +24,7 @@ static int __init check_bridge(int vendor, int device) */ if (vendor == PCI_VENDOR_ID_ATI) disable_timer_pin_1 = 1; +#endif return 0; }