summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-23 10:47:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-27 07:38:53 +0200
commitf0115ab4a64dfc77fe25dcb899cfadbe18395181 (patch)
treed58b46a6bb9f92d7b92af5cc32b97bbd03674547
parentsptests/spsem03: Fix compile error (diff)
downloadrtems-f0115ab4a64dfc77fe25dcb899cfadbe18395181.tar.bz2
score: Fix warning
-rw-r--r--cpukit/score/src/threadqops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/threadqops.c b/cpukit/score/src/threadqops.c
index f212f25154..8652025a46 100644
--- a/cpukit/score/src/threadqops.c
+++ b/cpukit/score/src/threadqops.c
@@ -1255,6 +1255,7 @@ static void _Thread_queue_Priority_inherit_do_surrender_change(
);
}
+#if defined(RTEMS_SMP)
static void _Thread_queue_Priority_inherit_do_surrender_change_2(
Priority_Aggregation *priority_aggregation,
bool prepend_it,
@@ -1268,6 +1269,7 @@ static void _Thread_queue_Priority_inherit_do_surrender_change_2(
prepend_it
);
}
+#endif
static void _Thread_queue_Priority_inherit_do_surrender(
Thread_queue_Queue *queue,