summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutexsurrender.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/coremutexsurrender.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 9db3f82bf7..16268934af 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -48,8 +48,13 @@
CORE_mutex_Status _CORE_mutex_Surrender(
CORE_mutex_Control *the_mutex,
+#if defined(RTEMS_MULTIPROCESSING)
Objects_Id id,
CORE_mutex_API_mp_support_callout api_mutex_mp_support
+#else
+ Objects_Id id __attribute__((unused)),
+ CORE_mutex_API_mp_support_callout api_mutex_mp_support __attribute__((unused))
+#endif
)
{
Thread_Control *the_thread;