[PATCH] x86: fix acpi compile without CONFIG_ACPI_BUS
[linux-2.6.git] / 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 */