summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/futex.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/futex.c')
-rw-r--r--cpukit/score/src/futex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/futex.c b/cpukit/score/src/futex.c
index 6487882819..f32a13c449 100644
--- a/cpukit/score/src/futex.c
+++ b/cpukit/score/src/futex.c
@@ -151,7 +151,7 @@ int _Futex_Wake( struct _Futex_Control *_futex, int count )
* called in the fast path. Normally there are no threads on the queue, so
* check this condition early.
*/
- if ( __predict_true( _Thread_queue_Is_empty( &futex->Queue.Queue ) ) ) {
+ if ( RTEMS_PREDICT_TRUE( _Thread_queue_Is_empty( &futex->Queue.Queue ) ) ) {
_Futex_Queue_release( futex, level, &context.Base );
return 0;
}