summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/ratemoncancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/ratemoncancel.c')
-rw-r--r--cpukit/rtems/src/ratemoncancel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/rtems/src/ratemoncancel.c b/cpukit/rtems/src/ratemoncancel.c
index fff77eb448..396fd79f32 100644
--- a/cpukit/rtems/src/ratemoncancel.c
+++ b/cpukit/rtems/src/ratemoncancel.c
@@ -46,8 +46,10 @@ rtems_status_code rtems_rate_monotonic_cancel(
the_period = _Rate_monotonic_Get( id, &location );
switch ( location ) {
+#if defined(RTEMS_MULTIPROCESSING)
case OBJECTS_REMOTE:
return RTEMS_INTERNAL_ERROR; /* should never return this */
+#endif
case OBJECTS_ERROR:
return RTEMS_INVALID_ID;