summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-08-04 16:51:17 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:11 +0200
commit32ae52f44bacd1803d731761eebe9a4fef0d29ef (patch)
tree45f8852284f1a57461a446b454226f9793f65946
parentf9fd27989cb6402fbdf624c350e9908903902745 (diff)
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define CONFIG_SMP and __SMP__.
-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
*/