[compile fix] 2.6.11-rc3-mm1 (acpi Kconfig)

From: Benoit Boissinot
Date: Fri Feb 04 2005 - 13:50:11 EST


Hi Andrew,

I had the following errors while compiling 2.6.11-rc3-mm1:

In file included from include/asm/fixmap.h:27,
from arch/i386/kernel/asm-offsets.c:12:
include/asm/acpi.h: In function `acpi_noirq_set':
include/asm/acpi.h:160: error: `acpi_noirq' undeclared
(first use in this function)
include/asm/acpi.h:160: error: (Each undeclared
identifier is reported only once
include/asm/acpi.h:160: error: for each function it
appears in.)
include/asm/acpi.h: In function `acpi_disable_pci':
include/asm/acpi.h:163: error: `acpi_pci_disabled'
undeclared (first use in this function)


The following patch fixes it (it looks like bk-kconfig-acpi-fix.patch
was incorrect).

Regards,

Benoit


--- linux-clean/drivers/acpi/Kconfig 2005-02-04 19:36:49.000000000 +0100
+++ linux/drivers/acpi/Kconfig 2005-02-04 19:36:45.000000000 +0100
@@ -42,7 +42,7 @@ config ACPI

config ACPI_BOOT
bool
- depends on X86_HT
+ depends on ACPI || X86_HT
default y

if ACPI
-
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/