summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threaddispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threaddispatch.c')
-rw-r--r--cpukit/score/src/threaddispatch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c
index 4cd449d55b..adce3a18d3 100644
--- a/cpukit/score/src/threaddispatch.c
+++ b/cpukit/score/src/threaddispatch.c
@@ -143,6 +143,7 @@ void _Thread_Dispatch( void )
}
#endif
+#if !defined(__DYNAMIC_REENT__)
/*
* Switch libc's task specific data.
*/
@@ -150,6 +151,7 @@ void _Thread_Dispatch( void )
executing->libc_reent = *_Thread_libc_reent;
*_Thread_libc_reent = heir->libc_reent;
}
+#endif
_User_extensions_Thread_switch( executing, heir );