[rtems-libbsd commit] The maxid is not the number of cpus.
Sebastian Huber
sebh at rtems.org
Wed Aug 3 12:12:15 UTC 2016
Module: rtems-libbsd
Branch: 4.11
Commit: 5611dfaf959e127cb4dda45d7d1249e6ec15b640
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=5611dfaf959e127cb4dda45d7d1249e6ec15b640
Author: Chris Johns <chrisj at rtems.org>
Date: Fri May 6 14:40:12 2016 +1000
The maxid is not the number of cpus.
---
freebsd/sys/sys/smp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/freebsd/sys/sys/smp.h b/freebsd/sys/sys/smp.h
index 6038c38..776fc3a 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
More information about the vc
mailing list