From 6e4f929296b1cfd50fc8f41f117459e65214b816 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 6 May 2016 06:44:41 +0200 Subject: score: Introduce thread state lock Update #2556. --- cpukit/rtems/src/signalcatch.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/rtems/src/signalcatch.c') diff --git a/cpukit/rtems/src/signalcatch.c b/cpukit/rtems/src/signalcatch.c index 73138a1015..e300890f6a 100644 --- a/cpukit/rtems/src/signalcatch.c +++ b/cpukit/rtems/src/signalcatch.c @@ -22,13 +22,13 @@ #include #include #include +#include #include void _Signal_Action_handler( - Thread_Control *executing, - Thread_Action *action, - Per_CPU_Control *cpu, - ISR_Level level + Thread_Control *executing, + Thread_Action *action, + ISR_lock_Context *lock_context ) { RTEMS_API_Control *api; @@ -37,7 +37,7 @@ void _Signal_Action_handler( Modes_Control prev_mode; (void) action; - _Thread_Action_release_and_ISR_enable( cpu, level ); + _Thread_State_release( executing, lock_context ); api = executing->API_Extensions[ THREAD_API_RTEMS ]; if ( !api ) -- cgit v1.2.3