summaryrefslogtreecommitdiffstats
path: root/cpukit/score/macros/rtems/score
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-09 19:19:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-09 19:19:03 +0000
commit02a200d157d780ee2139fd1440cacebb9c12a1e0 (patch)
treed9a3bf534778efc695788ce7e9a371efb9642509 /cpukit/score/macros/rtems/score
parent2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-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/macros/rtems/score')
-rw-r--r--cpukit/score/macros/rtems/score/userext.inl2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/macros/rtems/score/userext.inl b/cpukit/score/macros/rtems/score/userext.inl
index f08c5d81db..3904bd1657 100644
--- a/cpukit/score/macros/rtems/score/userext.inl
+++ b/cpukit/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 ); \
} \