diff options
Diffstat (limited to 'c/src/exec/score/macros')
-rw-r--r-- | c/src/exec/score/macros/rtems/score/userext.inl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/score/macros/rtems/score/userext.inl b/c/src/exec/score/macros/rtems/score/userext.inl index f08c5d81db..3904bd1657 100644 --- a/c/src/exec/score/macros/rtems/score/userext.inl +++ b/c/src/exec/score/macros/rtems/score/userext.inl @@ -81,6 +81,8 @@ _Chain_Prepend( &_User_extensions_List, &(_the_extension)->Node ); \ \ if ( (_the_extension)->Callouts.thread_switch != NULL ) { \ + (_the_extension)->Switch.thread_switch = \ + (_the_extension)->Callouts.thread_switch; \ _Chain_Append( \ &_User_extensions_Switches_list, &(_the_extension)->Switch.Node ); \ } \ |