summaryrefslogtreecommitdiffstats
path: root/include/linux/tasks.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
committer <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
commitbeb116954b9b7f3bb56412b2494b562f02b864b1 (patch)
tree120e997879884e1b9d93b265221b939d2ef1ade1 /include/linux/tasks.h
parent908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff)
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'include/linux/tasks.h')
-rw-r--r--include/linux/tasks.h7
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)