Re: Compile failure in include/asm-i386/mach-default/mach_apic.h

From: Stelian Pop (stelian.pop@fr.alcove.com)
Date: Fri Feb 14 2003 - 07:34:34 EST


On Fri, Feb 14, 2003 at 11:36:19AM +0100, Jan Dittmer wrote:

> I need to include asm/apic.h and asm/mpspec.h in
> include/asm-i386/mach-default/mach_apic.h to compile current 2.5.60 bk tree.
> .config attached. Didn't find it on lkml.
> Uniprocessor w/ local apic enabled, but happens also with local apic
> disabled.
> Is this the correct fix?

I think the patch below is better...

Stelian.

===== arch/i386/kernel/acpi/boot.c 1.21 vs edited =====
--- 1.21/arch/i386/kernel/acpi/boot.c Thu Feb 13 18:51:14 2003
+++ edited/arch/i386/kernel/acpi/boot.c Fri Feb 14 10:18:03 2003
@@ -24,8 +24,11 @@
  */
 
 #include <linux/init.h>
+#include <linux/config.h>
 #include <linux/acpi.h>
 #include <asm/pgalloc.h>
+#include <asm/mpspec.h>
+#include <asm/apic.h>
 
 #include <mach_apic.h>
 #include <mach_mpparse.h>

-- 
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:53 EST