summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadqenqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadqenqueue.c')
-rw-r--r--cpukit/score/src/threadqenqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threadqenqueue.c b/cpukit/score/src/threadqenqueue.c
index b3bf5512ac..5fc357ec82 100644
--- a/cpukit/score/src/threadqenqueue.c
+++ b/cpukit/score/src/threadqenqueue.c
@@ -818,7 +818,7 @@ Status_Control _Thread_queue_Surrender_priority_ceiling(
&queue_context->Lock_context.Lock_context
);
_Thread_Priority_update( queue_context );
- _Thread_Dispatch_direct( cpu_self );
+ _Thread_Dispatch_enable( cpu_self );
return STATUS_SUCCESSFUL;
}
@@ -856,7 +856,7 @@ Status_Control _Thread_queue_Surrender_priority_ceiling(
unblock
);
- _Thread_Dispatch_direct( cpu_self );
+ _Thread_Dispatch_enable( cpu_self );
return STATUS_SUCCESSFUL;
}