diff options
Diffstat (limited to 'include/linux/tasks.h')
-rw-r--r-- | include/linux/tasks.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/tasks.h b/include/linux/tasks.h index 050bb3875..4540e34f0 100644 --- a/include/linux/tasks.h +++ b/include/linux/tasks.h @@ -4,6 +4,13 @@ /* * This is the maximum nr of tasks - change it if you need to */ + +#ifdef __SMP__ +#define NR_CPUS 32 /* Max processors that can be running in SMP */ +#else +#define NR_CPUS 1 +#endif + #define NR_TASKS 512 #define MAX_TASKS_PER_USER (NR_TASKS/2) |