]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
[PATCH] x86: fix acpi compile without CONFIG_ACPI_BUS
authorChris Wedgwood <cw@f00f.org>
Mon, 18 Apr 2005 15:01:30 +0000 (08:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Apr 2005 15:01:30 +0000 (08:01 -0700)
The recent acpi boot patch breaks for me: acpi_fadt needs CONFIG_ACPI_BUS.

Signed-off-By: Chris Wedgwood <cw@f00f.org>
Acked-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/acpi/boot.c

index 040451e90a042f498ff8abd6cfa3d18654cb973b..53eb5cfd5b630b614952ba31a08e384abb8a2f1a 100644 (file)
@@ -608,9 +608,11 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size)
        acpi_fadt.sci_int = fadt->sci_int;
 #endif
 
+#ifdef CONFIG_ACPI_BUS
        /* initialize rev and apic_phys_dest_mode for x86_64 genapic */
        acpi_fadt.revision = fadt->revision;
        acpi_fadt.force_apic_physical_destination_mode = fadt->force_apic_physical_destination_mode;
+#endif
 
 #ifdef CONFIG_X86_PM_TIMER
        /* detect the location of the ACPI PM Timer */