patch-2.3.99-pre6 linux/include/linux/threads.h
Next file: linux/include/linux/timer.h
Previous file: linux/include/linux/sysctl.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed Apr 26 15:29:06 2000
- Orig file:
v2.3.99-pre5/linux/include/linux/threads.h
- Orig date:
Wed Aug 18 16:43:28 1999
diff -u --recursive --new-file v2.3.99-pre5/linux/include/linux/threads.h linux/include/linux/threads.h
@@ -1,12 +1,14 @@
#ifndef _LINUX_THREADS_H
#define _LINUX_THREADS_H
+#include <linux/config.h>
+
/*
* The default limit for the nr of threads is now in
* /proc/sys/kernel/max-threads.
*/
-#ifdef __SMP__
+#ifdef CONFIG_SMP
#define NR_CPUS 32 /* Max processors that can be running in SMP */
#else
#define NR_CPUS 1
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)