forked from Imagelibrary/rtems
score: Fix ISR enable in _Thread_Dispatch_enable()
This bug had probably no effect since the interrupt enable is idempotent on all CPU ports. Close #3496.
This commit is contained in:
@@ -228,9 +228,8 @@ RTEMS_INLINE_ROUTINE void _Thread_Dispatch_enable( Per_CPU_Control *cpu_self )
|
||||
} else {
|
||||
cpu_self->thread_dispatch_disable_level = 0;
|
||||
_Profiling_Thread_dispatch_enable( cpu_self, 0 );
|
||||
}
|
||||
|
||||
_ISR_Local_enable( level );
|
||||
}
|
||||
} else {
|
||||
_Assert( disable_level > 0 );
|
||||
cpu_self->thread_dispatch_disable_level = disable_level - 1;
|
||||
|
||||
Reference in New Issue
Block a user