summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-05-06 14:40:12 +1000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-06 09:00:16 +0200
commit5611dfaf959e127cb4dda45d7d1249e6ec15b640 (patch)
tree26e39647a81b298b559c354be2872e1f2c022c72
parentFix heap corruption in UNIX domain socket connect (diff)
downloadrtems-libbsd-5611dfaf959e127cb4dda45d7d1249e6ec15b640.tar.bz2
The maxid is not the number of cpus.
-rw-r--r--freebsd/sys/sys/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sys/sys/smp.h b/freebsd/sys/sys/smp.h
index 6038c38d..776fc3a1 100644
--- a/freebsd/sys/sys/smp.h
+++ b/freebsd/sys/sys/smp.h
@@ -87,7 +87,7 @@ extern volatile int smp_started;
extern cpuset_t all_cpus;
#else /* __rtems__ */
-#define mp_maxid 1U
+#define mp_maxid 0U
#define mp_maxcpus 1
#define mp_ncpus 1
#define all_cpus 1U