Fix fallout from ATI Xpress timer workaround

ACPI earlyquirks needs to honor the proper config variables, and include
the right header file.

(Fixes commit 66759a01ad)

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Linus Torvalds 2005-09-12 12:32:31 -07:00
Родитель 2ade814736
Коммит a217e8c181
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -7,6 +7,7 @@
#include <linux/pci.h> #include <linux/pci.h>
#include <asm/pci-direct.h> #include <asm/pci-direct.h>
#include <asm/acpi.h> #include <asm/acpi.h>
#include <asm/apic.h>
static int __init check_bridge(int vendor, int device) 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) { if (vendor == PCI_VENDOR_ID_NVIDIA) {
acpi_skip_timer_override = 1; acpi_skip_timer_override = 1;
} }
#ifdef CONFIG_X86_LOCAL_APIC
/* /*
* ATI IXP chipsets get double timer interrupts. * ATI IXP chipsets get double timer interrupts.
* For now just do this for all ATI chipsets. * 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) if (vendor == PCI_VENDOR_ID_ATI)
disable_timer_pin_1 = 1; disable_timer_pin_1 = 1;
#endif
return 0; return 0;
} }