summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/userextremoveset.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/userextremoveset.c')
-rw-r--r--cpukit/score/src/userextremoveset.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/userextremoveset.c b/cpukit/score/src/userextremoveset.c
index a151005595..5b3fdd1aea 100644
--- a/cpukit/score/src/userextremoveset.c
+++ b/cpukit/score/src/userextremoveset.c
@@ -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.