]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ACPI compile fix
authorAndy Grover <agrover@groveronline.com>
Mon, 8 Apr 2002 02:22:26 +0000 (19:22 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 8 Apr 2002 02:22:26 +0000 (19:22 -0700)
Hi Linus,

Oops, SMP non-ACPI doesn't compile with the previous ACPI update. This
fixes that.

include/asm-i386/acpi.h

index 7166ee90fb55312c7539b8b888cde0df9b45ccaa..0c5d1f4678a7c4720aab098d6ab3633511b24d11 100644 (file)
@@ -40,6 +40,8 @@ extern int acpi_find_rsdp (unsigned long *phys_addr);
 extern int acpi_parse_madt (unsigned long phys_addr, unsigned long size);
 extern int acpi_boot_init (char *cmdline);
 
+#else
+#define acpi_mp_config 0
 #endif /*CONFIG_ACPI_BOOT*/
 
 #ifdef CONFIG_ACPI_PCI