tree 192c399c6bfb0a04b65e47332b3d9a0b10b852b8
parent 9c7d3b3a6b6aaeded9d9e5c5111dbcc65b0b0f91
author Chris Wedgwood <[EMAIL PROTECTED]> Mon, 18 Apr 2005 22:01:30 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Mon, 18 Apr 2005 22:01:30 -0700
[PATCH] x86: fix acpi compile without CONFIG_ACPI_BUS
The recent acpi boot patch breaks for me: acpi_fadt needs CONFIG_ACPI_BUS.
Signed-off-By: Chris Wedgwood <[EMAIL PROTECTED]>
Acked-by: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
i386/kernel/acpi/boot.c | 2 ++
1 files changed, 2 insertions(+)
Index: arch/i386/kernel/acpi/boot.c
===================================================================
--- 19b2c9e85dcab6df9250ba38df885d951c96e0a6/arch/i386/kernel/acpi/boot.c
(mode:100644 sha1:040451e90a042f498ff8abd6cfa3d18654cb973b)
+++ 192c399c6bfb0a04b65e47332b3d9a0b10b852b8/arch/i386/kernel/acpi/boot.c
(mode:100644 sha1:53eb5cfd5b630b614952ba31a08e384abb8a2f1a)
@@ -608,9 +608,11 @@
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 */
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html