diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-05 08:13:50 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-07 08:46:48 +0200 |
commit | 6e74cebb620ecf78a4ae74ae51ec982606ecff1b (patch) | |
tree | 2da33d10759f6bb087fc124c75bef0348c20b92e /cpukit/include/rtems/score | |
parent | bsps/aarch64: Use MMU pages appropriately (diff) | |
download | rtems-6e74cebb620ecf78a4ae74ae51ec982606ecff1b.tar.bz2 |
score: Conditional _Thread_Priority_replace()
This function is only used in SMP configurations.
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r-- | cpukit/include/rtems/score/threadimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h index 10800aa023..37932b367d 100644 --- a/cpukit/include/rtems/score/threadimpl.h +++ b/cpukit/include/rtems/score/threadimpl.h @@ -778,6 +778,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Priority_change( ); } +#if defined(RTEMS_SMP) /** * @brief Replaces the victim priority node with the replacement priority node * in the corresponding thread priority aggregation. @@ -795,6 +796,7 @@ void _Thread_Priority_replace( Priority_Node *victim_node, Priority_Node *replacement_node ); +#endif /** * @brief Updates the priority of all threads in the set |