From 6e74cebb620ecf78a4ae74ae51ec982606ecff1b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 5 Jul 2022 08:13:50 +0200 Subject: score: Conditional _Thread_Priority_replace() This function is only used in SMP configurations. --- cpukit/score/src/threadchangepriority.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpukit/score') diff --git a/cpukit/score/src/threadchangepriority.c b/cpukit/score/src/threadchangepriority.c index 80f030fdc6..0ddfd1cf9b 100644 --- a/cpukit/score/src/threadchangepriority.c +++ b/cpukit/score/src/threadchangepriority.c @@ -360,6 +360,7 @@ void _Thread_Priority_changed( ); } +#if defined(RTEMS_SMP) void _Thread_Priority_replace( Thread_Control *the_thread, Priority_Node *victim_node, @@ -375,6 +376,7 @@ void _Thread_Priority_replace( replacement_node ); } +#endif void _Thread_Priority_update( Thread_queue_Context *queue_context ) { -- cgit v1.2.3