Import 2.3.25pre1
[davej-history.git] / include / linux / threads.h
blobf1f502eb661431e8bc6a6cd39fb562217d05ce38
1 #ifndef _LINUX_THREADS_H
2 #define _LINUX_THREADS_H
4 /*
5 * The default limit for the nr of threads is now in
6 * /proc/sys/kernel/max-threads.
7 */
9 #ifdef __SMP__
10 #define NR_CPUS 32 /* Max processors that can be running in SMP */
11 #else
12 #define NR_CPUS 1
13 #endif
15 #define MIN_THREADS_LEFT_FOR_ROOT 4
18 * This controls the maximum pid allocated to a process
20 #define PID_MAX 0x8000
22 #endif