diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-09 19:19:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-09 19:19:03 +0000 |
commit | 02a200d157d780ee2139fd1440cacebb9c12a1e0 (patch) | |
tree | d9a3bf534778efc695788ce7e9a371efb9642509 /cpukit/score/inline/rtems/score/userext.inl | |
parent | 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-02a200d157d780ee2139fd1440cacebb9c12a1e0.tar.bz2 |
2002-04-08 Chris Johns <ccj@acm.org>
* Per PR141 and PR174, make task switch extension its own list and
fix all odd problems introduced by providing macro version.
* inline/rtems/score/userext.inl: Fix.
Diffstat (limited to 'cpukit/score/inline/rtems/score/userext.inl')
-rw-r--r-- | cpukit/score/inline/rtems/score/userext.inl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/inline/rtems/score/userext.inl b/cpukit/score/inline/rtems/score/userext.inl index 0d0b19f9ec..21adea0214 100644 --- a/cpukit/score/inline/rtems/score/userext.inl +++ b/cpukit/score/inline/rtems/score/userext.inl @@ -104,7 +104,8 @@ RTEMS_INLINE_ROUTINE void _User_extensions_Add_API_set ( * If a switch handler is present, append it to the switch chain. */ - if ( extension_table->thread_switch != NULL ) { + 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 ); } |