[PATCH] 2.4.x --- early boot code references check_acpi_pci()

From: Chris Wedgwood
Date: Thu Mar 10 2005 - 17:16:45 EST


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

Signed-off-by: Chris Wedgwood <cw@xxxxxxxx>

===== arch/i386/kernel/earlyquirk.c 1.1 vs edited =====
--- 1.1/arch/i386/kernel/earlyquirk.c 2005-02-18 06:53:58 -08:00
+++ edited/arch/i386/kernel/earlyquirk.c 2005-03-10 13:29:55 -08:00
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/