forked from Imagelibrary/rtems
score: _User_extensions_Remove_set()
Use unprotected chain operation in _User_extensions_Remove_set() since the caller must own the object allocator lock. Update #2555.
This commit is contained in:
@@ -20,13 +20,16 @@
|
||||
#endif
|
||||
|
||||
#include <rtems/score/userextimpl.h>
|
||||
#include <rtems/score/objectimpl.h>
|
||||
#include <rtems/score/percpu.h>
|
||||
|
||||
void _User_extensions_Remove_set (
|
||||
User_extensions_Control *the_extension
|
||||
)
|
||||
{
|
||||
_Chain_Extract( &the_extension->Node );
|
||||
_Assert( _Objects_Allocator_is_owner() );
|
||||
|
||||
_Chain_Extract_unprotected( &the_extension->Node );
|
||||
|
||||
/*
|
||||
* If a switch handler is present, remove it.
|
||||
|
||||
Reference in New Issue
Block a user