diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-23 07:16:41 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-23 12:52:05 +0100 |
commit | ec17ad4c24a9b3f9c175240d66f8e39acf58e6d1 (patch) | |
tree | b4303f6bc5a3a02ffa092c50d392822a17f3a2a3 /cpukit/score/include/rtems | |
parent | arm: Fix _ARMV4_Exception_interrupt (diff) | |
download | rtems-ec17ad4c24a9b3f9c175240d66f8e39acf58e6d1.tar.bz2 |
score: Delete obsolete scheduler debug aid
Diffstat (limited to 'cpukit/score/include/rtems')
-rw-r--r-- | cpukit/score/include/rtems/score/schedulerimpl.h | 6 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/schedulersmpimpl.h | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/include/rtems/score/schedulerimpl.h index 62a8e94fa1..737d1a35ab 100644 --- a/cpukit/score/include/rtems/score/schedulerimpl.h +++ b/cpukit/score/include/rtems/score/schedulerimpl.h @@ -859,18 +859,12 @@ typedef void ( *Scheduler_Release_idle_thread )( Thread_Control *idle ); -extern const bool _Scheduler_Thread_state_valid_state_changes[ 3 ][ 3 ]; - RTEMS_INLINE_ROUTINE void _Scheduler_Thread_change_state( Thread_Control *the_thread, Thread_Scheduler_state new_state ) { _Assert( - _Scheduler_Thread_state_valid_state_changes - [ the_thread->Scheduler.state ][ new_state ] - ); - _Assert( _ISR_lock_Is_owner( &the_thread->Scheduler.Lock ) || the_thread->Scheduler.state == THREAD_SCHEDULER_BLOCKED || !_System_state_Is_up( _System_state_Get() ) diff --git a/cpukit/score/include/rtems/score/schedulersmpimpl.h b/cpukit/score/include/rtems/score/schedulersmpimpl.h index 95a9eaed06..92a22d2ff8 100644 --- a/cpukit/score/include/rtems/score/schedulersmpimpl.h +++ b/cpukit/score/include/rtems/score/schedulersmpimpl.h @@ -425,8 +425,6 @@ static inline void _Scheduler_SMP_Node_update_priority( node->priority = new_priority; } -extern const bool _Scheduler_SMP_Node_valid_state_changes[ 3 ][ 3 ]; - static inline void _Scheduler_SMP_Node_change_state( Scheduler_Node *node, Scheduler_SMP_Node_state new_state @@ -435,10 +433,6 @@ static inline void _Scheduler_SMP_Node_change_state( Scheduler_SMP_Node *the_node; the_node = _Scheduler_SMP_Node_downcast( node ); - _Assert( - _Scheduler_SMP_Node_valid_state_changes[ the_node->state ][ new_state ] - ); - the_node->state = new_state; } |