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

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)