summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/confdefs/threads.h')
-rw-r--r--cpukit/include/rtems/confdefs/threads.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/include/rtems/confdefs/threads.h b/cpukit/include/rtems/confdefs/threads.h
index 7288243ead..12726487ba 100644
--- a/cpukit/include/rtems/confdefs/threads.h
+++ b/cpukit/include/rtems/confdefs/threads.h
@@ -44,7 +44,6 @@
#include <rtems/confdefs/bdbuf.h>
#include <rtems/confdefs/extensions.h>
-#include <rtems/confdefs/mpci.h>
#include <rtems/confdefs/percpu.h>
#include <rtems/confdefs/scheduler.h>
#include <rtems/confdefs/unlimited.h>
@@ -197,6 +196,12 @@ const size_t _Thread_Initial_thread_count =
rtems_resource_maximum_per_allocation( _CONFIGURE_TASKS ) +
rtems_resource_maximum_per_allocation( CONFIGURE_MAXIMUM_POSIX_THREADS );
+#if defined(RTEMS_MULTIPROCESSING) && defined(CONFIGURE_MP_APPLICATION)
+ #define _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT 1
+#else
+ #define _CONFIGURE_MPCI_RECEIVE_SERVER_COUNT 0
+#endif
+
THREAD_INFORMATION_DEFINE(
_Thread,
OBJECTS_INTERNAL_API,