Skip to contentSkip to conversation

2.4.x --- early boot code references check_acpi_pci()

PATCH In review Chris Wedgwood 2 participants 2 messages Mar 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.x --- early boot code references check_acpi_pci()

For x86 (and friends) ACPI_BOOT=y (always) and this code wants to call check_acpi_pci().

===== arch/i386/kernel/earlyquirk.c 1.1 vs edited =====

arch/i386/kernel/earlyquirk.c +1 -1
@@ -8,7 +8,7 @@
 #include <asm/pci-direct.h>
 #include <asm/acpi.h>
 
-#ifdef CONFIG_ACPI
+#ifdef CONFIG_ACPI_BOOT
 static int __init check_bridge(int vendor, int device) 
 {
 	/* According to Nvidia all timer overrides are bogus. Just ignore
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Chris Wedgwood

For x86 (and friends) ACPI_BOOT=y (always) and this code wants to call check_acpi_pci().

===== arch/i386/kernel/earlyquirk.c 1.1 vs edited =====

arch/i386/kernel/earlyquirk.c line 14

Quoted 8 lines
arch/i386/kernel/earlyquirk.c +1 -1
@@ -8,7 +8,7 @@
 #include <asm/pci-direct.h>
 #include <asm/acpi.h>
 
-#ifdef CONFIG_ACPI
+#ifdef CONFIG_ACPI_BOOT
 static int __init check_bridge(int vendor, int device) 
 {
 	/* According to Nvidia all timer overrides are bogus. Just ignore

Thanks Chris