diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-04-05 22:13:08 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-04-05 22:13:08 +0000 |
commit | 63f786e7c8ed2e34a4ae21f852d1e12e1e4d01d7 (patch) | |
tree | fd2219bf85cc6d7800e3a84cc7cca67586298967 /cpukit/score/src/threaddispatch.c | |
parent | 2007-04-05 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-63f786e7c8ed2e34a4ae21f852d1e12e1e4d01d7.tar.bz2 |
2007-04-05 Joel Sherrill <joel@OARcorp.com>
* itron/src/itrontime.c: Fix typo.
* score/include/rtems/score/tod.h: Add TOD_TICKS_PER_SECOND macro.
* score/src/iterateoverthreads.c: Safely take NULL as argument.
* score/src/threaddispatch.c: Formatting.
Diffstat (limited to 'cpukit/score/src/threaddispatch.c')
-rw-r--r-- | cpukit/score/src/threaddispatch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index 96f4fa6c3f..136433be17 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -114,7 +114,8 @@ void _Thread_Dispatch( void ) #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE ) - if ( (executing->fp_context != NULL) && !_Thread_Is_allocated_fp( executing ) ) { + if ( (executing->fp_context != NULL) && + !_Thread_Is_allocated_fp( executing ) ) { if ( _Thread_Allocated_fp != NULL ) _Context_Save_fp( &_Thread_Allocated_fp->fp_context ); _Context_Restore_fp( &executing->fp_context ); |