summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/param.h')
-rw-r--r--sys/amd64/include/param.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h
index 293f909..7c3a831 100644
--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -83,7 +83,11 @@
#define MACHINE_ARCH "amd64"
#endif
+#ifdef SMP
+#define MAXCPU 8
+#else
#define MAXCPU 1
+#endif
#define ALIGNBYTES _ALIGNBYTES
#define ALIGN(p) _ALIGN(p)
OpenPOWER on IntegriCloud