summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/taskmode.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-04 13:09:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-04 13:09:48 +0000
commit56e171066de897e3e8196b5e7479913b12ce2af6 (patch)
tree94887d97a946d9e4b6f86ccbd0f283bd05893aea /cpukit/rtems/src/taskmode.c
parentFix expat. (diff)
downloadrtems-56e171066de897e3e8196b5e7479913b12ce2af6.tar.bz2
2009-09-04 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* rtems/src/taskmode.c, sapi/src/exshutdown.c, score/include/rtems/score/sysstate.h, score/inline/rtems/score/sysstate.inl: Added _System_state_Is_shutdown(). Removed direct uses of _System_state_Current. Documentation.
Diffstat (limited to 'cpukit/rtems/src/taskmode.c')
-rw-r--r--cpukit/rtems/src/taskmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskmode.c b/cpukit/rtems/src/taskmode.c
index 8a0837039d..56f707c5e7 100644
--- a/cpukit/rtems/src/taskmode.c
+++ b/cpukit/rtems/src/taskmode.c
@@ -122,7 +122,7 @@ rtems_status_code rtems_task_mode(
}
}
- if ( _System_state_Is_up(_System_state_Current) )
+ if ( _System_state_Is_up( _System_state_Get() ) )
if ( _Thread_Evaluate_mode() || needs_asr_dispatching )
_Thread_Dispatch();