summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include/param.h')
-rw-r--r--sys/alpha/include/param.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h
index 80dce22..742a3f7 100644
--- a/sys/alpha/include/param.h
+++ b/sys/alpha/include/param.h
@@ -70,7 +70,11 @@
#define OBJFORMAT_NAMES "elf"
#define OBJFORMAT_DEFAULT "elf"
+#ifdef SMP
+#define NCPUS 32
+#else
#define NCPUS 1
+#endif
/*
* Round p (pointer or byte index) up to a correctly-aligned value for all
OpenPOWER on IntegriCloud