summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/optman
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 17:38:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-11-23 17:38:09 +0000
commit97e2729d1a3432b9792b82ce88ce6d804a104f7a (patch)
treece8c041ef504f965a4af05775af348c7023b19f9 /c/src/exec/rtems/optman
parentAdded networking. (diff)
downloadrtems-97e2729d1a3432b9792b82ce88ce6d804a104f7a.tar.bz2
Added --disable-multiprocessing flag and modified a lot of files to make
it work.
Diffstat (limited to 'c/src/exec/rtems/optman')
-rw-r--r--c/src/exec/rtems/optman/Makefile.in2
-rw-r--r--c/src/exec/rtems/optman/no-mp.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/c/src/exec/rtems/optman/Makefile.in b/c/src/exec/rtems/optman/Makefile.in
index 41d7274161..d674921aba 100644
--- a/c/src/exec/rtems/optman/Makefile.in
+++ b/c/src/exec/rtems/optman/Makefile.in
@@ -8,7 +8,7 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
-C_FILES= no-dpmem.c no-event.c no-mp.c no-msg.c \
+C_FILES= no-dpmem.c no-event.c no-msg.c no-mp.c \
no-part.c no-region.c no-rtmon.c no-sem.c no-signal.c no-timer.c
S_FILES=
diff --git a/c/src/exec/rtems/optman/no-mp.c b/c/src/exec/rtems/optman/no-mp.c
index 71c38826f3..41fa81e597 100644
--- a/c/src/exec/rtems/optman/no-mp.c
+++ b/c/src/exec/rtems/optman/no-mp.c
@@ -14,6 +14,9 @@
*/
#include <rtems/system.h>
+#if !defined(RTEMS_MULTIPROCESSING)
+char rtems_no_multiprocessing;
+#else
#include <rtems/rtems/status.h>
#include <rtems/rtems/mp.h>
#include <rtems/score/cpu.h>
@@ -197,5 +200,5 @@ MPCI_Internal_packet *_MPCI_Internal_packets_Get_packet ( void )
);
return NULL;
}
-
+#endif
/* end of file */