2005-03-10 22:11:36

by Chris Wedgwood

[permalink] [raw]
Subject: [PATCH] 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().

Signed-off-by: Chris Wedgwood <[email protected]>

===== 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


2005-03-10 22:41:15

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: [PATCH] 2.4.x --- early boot code references check_acpi_pci()

On Thu, 10 Mar 2005, Chris Wedgwood wrote:

> For x86 (and friends) ACPI_BOOT=y (always) and this code wants to call
> check_acpi_pci().
>
> Signed-off-by: Chris Wedgwood <[email protected]>
>
> ===== 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

Thanks Chris

Acked-by: Zwane Mwaikambo <[email protected]>