summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-05-06 14:40:12 +1000
committerChris Johns <chrisj@rtems.org>2016-05-06 15:07:56 +1000
commit7a79eec6fc81190261993e3af3f548b3efbb5e09 (patch)
tree36c3eee438d27a501f6a763c86f2e271c78897b6
parentdefault-network-init.h: Fix warnings (diff)
downloadrtems-libbsd-7a79eec6fc81190261993e3af3f548b3efbb5e09.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