summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadrestart.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r--cpukit/score/src/threadrestart.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c
index 155acaa8d1..59754a86fb 100644
--- a/cpukit/score/src/threadrestart.c
+++ b/cpukit/score/src/threadrestart.c
@@ -237,8 +237,7 @@ void _Thread_Life_action_handler(
}
_Thread_Enable_dispatch();
-
- _Assert_Not_reached();
+ RTEMS_UNREACHABLE();
} else {
_Assert( _Thread_Is_life_restarting( previous_life_state ) );
@@ -258,8 +257,7 @@ void _Thread_Life_action_handler(
_Thread_Load_environment( executing );
_Thread_Restart_self( executing );
-
- _Assert_Not_reached();
+ RTEMS_UNREACHABLE();
}
}
}