summaryrefslogtreecommitdiff
path: root/i386/linux/dev
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 /i386/linux/dev
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__.
Diffstat (limited to 'i386/linux/dev')
-rw-r--r--i386/linux/dev/include/linux/autoconf.h5
1 files changed, 5 insertions, 0 deletions
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
*/