summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/taskwakewhen.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-06-13 11:29:53 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-06-14 14:20:30 +0200
commit3246b0f8fcbf6e3ae3d7c2a87117f67b79cb1665 (patch)
tree1bab5f10ebe6413148ecaccd8ee7195450984d94 /cpukit/rtems/src/taskwakewhen.c
parentsapi: Add nanoseconds_per_tick to configuration (diff)
downloadrtems-3246b0f8fcbf6e3ae3d7c2a87117f67b79cb1665.tar.bz2
score: New structure TOD_Control
Group the global TOD variables (_TOD_Now, _TOD_Uptime, and _TOD_Is_set) in a structure to reduce address loads in _TOD_Tickle_ticks().
Diffstat (limited to 'cpukit/rtems/src/taskwakewhen.c')
-rw-r--r--cpukit/rtems/src/taskwakewhen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/src/taskwakewhen.c b/cpukit/rtems/src/taskwakewhen.c
index 8043db548d..d181848c91 100644
--- a/cpukit/rtems/src/taskwakewhen.c
+++ b/cpukit/rtems/src/taskwakewhen.c
@@ -51,7 +51,7 @@ rtems_status_code rtems_task_wake_when(
{
Watchdog_Interval seconds;
- if ( !_TOD_Is_set )
+ if ( !_TOD.is_set )
return RTEMS_NOT_DEFINED;
if ( !time_buffer )