[FIX] Compiler error on linux-2.4.11-pre4/arch/i386/kernel/mpparse.c

From: Philipp Matthias Hahn (pmhahn@informatik.tu-darmstadt.de)
Date: Fri Oct 05 2001 - 10:26:52 EST


Hello LKML!

patch-2.4.11-pre4 adds the following lines to include/acm-i386/smp.h:90
+#ifndef clustered_apic_mode
+ #ifdef CONFIG_MULTIQUAD
+ #define clustered_apic_mode (1)
+ #define esr_disable (1)
+ #else /* !CONFIG_MULTIQUAD */
+ #define clustered_apic_mode (0)
+ #define esr_disable (0)
+ #endif /* CONFIG_MULTIQUAD */
+#endif

which don't get included when compiling for non-SMP. Move those lines up
before
line 37 with "#ifdef CONFIG_SMP" and compiling should work again.

BYtE
Philipp

-- 
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de
-
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 : Sun Oct 07 2001 - 21:00:37 EST