diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/rtems/optman/Makefile.in | 2 | ||||
-rw-r--r-- | c/src/exec/rtems/optman/no-mp.c | 5 |
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 */ |