summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/taskmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/taskmode.c')
-rw-r--r--cpukit/rtems/src/taskmode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskmode.c b/cpukit/rtems/src/taskmode.c
index de30806186..fadca68225 100644
--- a/cpukit/rtems/src/taskmode.c
+++ b/cpukit/rtems/src/taskmode.c
@@ -21,6 +21,7 @@
#include <rtems/rtems/tasks.h>
#include <rtems/rtems/asrimpl.h>
#include <rtems/rtems/modesimpl.h>
+#include <rtems/rtems/signalimpl.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/threadimpl.h>
#include <rtems/config.h>
@@ -103,7 +104,8 @@ rtems_status_code rtems_task_mode(
needs_asr_dispatching = true;
_Thread_Add_post_switch_action(
executing,
- &api->Signal_action
+ &api->Signal_action,
+ _Signal_Action_handler
);
}
}