patch-2.4.23 linux-2.4.23/include/linux/threads.h
Next file: linux-2.4.23/include/linux/usb.h
Previous file: linux-2.4.23/include/linux/sysctl.h
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/linux/threads.h
- Orig date:
2002-02-25 11:38:13.000000000 -0800
diff -urN linux-2.4.22/include/linux/threads.h linux-2.4.23/include/linux/threads.h
@@ -9,9 +9,9 @@
*/
#ifdef CONFIG_SMP
-#define NR_CPUS 32 /* Max processors that can be running in SMP */
+#define NR_CPUS CONFIG_NR_CPUS
#else
-#define NR_CPUS 1
+#define NR_CPUS 1
#endif
#define MIN_THREADS_LEFT_FOR_ROOT 4
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)