summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--i386/linux/dev/include/linux/autoconf.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c832d2..e82d596 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,8 @@
_interrupt_stack.
* i386/i386/i386asm.sym (MP_GDT, MP_IDT): Remove macros.
* i386/i386/lock.h: Don't include_next "lock.h".
+ * i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define
+ CONFIG_SMP and __SMP__.
2007-07-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/i386/linux/dev/include/linux/autoconf.h b/i386/linux/dev/include/linux/autoconf.h
index c67a667..93c6716 100644
--- a/i386/linux/dev/include/linux/autoconf.h
+++ b/i386/linux/dev/include/linux/autoconf.h
@@ -34,6 +34,11 @@
#undef CONFIG_M686
#endif
+#if NCPUS > 1
+#define CONFIG_SMP 1
+#define __SMP__ 1
+#endif
+
/*
* Floppy, IDE, and other block devices
*/