patch-1.3.31 linux/include/linux/tasks.h
Next file: linux/include/net/netlink.h
Previous file: linux/include/linux/smp.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Oct 2 14:25:11 1995
- Orig file:
v1.3.30/linux/include/linux/tasks.h
- Orig date:
Wed Sep 13 12:45:33 1995
diff -u --recursive --new-file v1.3.30/linux/include/linux/tasks.h linux/include/linux/tasks.h
@@ -5,7 +5,11 @@
* This is the maximum nr of tasks - change it if you need to
*/
-#define NR_PROCS 32 /* Max processors that can be running */
+#ifdef CONFIG_SMP
+#define NR_CPUS 32 /* Max processors that can be running in SMP */
+#else
+#define NR_CPUS 1
+#endif
#define NR_TASKS 512
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this