forked from Imagelibrary/rtems
score: Fix for RTEMS_DEBUG.
This commit is contained in:
@@ -29,6 +29,7 @@ void _User_extensions_Add_set(
|
||||
ISR_lock_Context lock_context;
|
||||
|
||||
_User_extensions_Acquire( &lock_context );
|
||||
_Chain_Initialize_node( &the_extension->Node );
|
||||
_Chain_Append_unprotected(
|
||||
&_User_extensions_List.Active,
|
||||
&the_extension->Node
|
||||
@@ -46,6 +47,7 @@ void _User_extensions_Add_set(
|
||||
the_extension->Callouts.thread_switch;
|
||||
|
||||
_Per_CPU_Acquire_all( level );
|
||||
_Chain_Initialize_node( &the_extension->Switch.Node );
|
||||
_Chain_Append_unprotected(
|
||||
&_User_extensions_Switches_list,
|
||||
&the_extension->Switch.Node
|
||||
|
||||
Reference in New Issue
Block a user