summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-31 14:52:19 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-08-01 16:45:45 +0200
commitdd8815a0c430a99dbdc581b8ec7a390d71b3628d (patch)
tree57eef48f8ee0d6bd1ddf70164eaedeac5ca63119 /cpukit
parentscore: Rename tod.h to todimpl.h (diff)
downloadrtems-dd8815a0c430a99dbdc581b8ec7a390d71b3628d.tar.bz2
score: Delete _TOD_Activate and _TOD_Deactivate
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/include/rtems/score/todimpl.h18
-rw-r--r--cpukit/score/src/coretod.c1
-rw-r--r--cpukit/score/src/coretodset.c2
3 files changed, 0 insertions, 21 deletions
diff --git a/cpukit/score/include/rtems/score/todimpl.h b/cpukit/score/include/rtems/score/todimpl.h
index f16390ec12..34db063276 100644
--- a/cpukit/score/include/rtems/score/todimpl.h
+++ b/cpukit/score/include/rtems/score/todimpl.h
@@ -285,24 +285,6 @@ uint32_t TOD_TICKS_PER_SECOND_method(void);
#define TOD_TICKS_PER_SECOND TOD_TICKS_PER_SECOND_method()
/**
- * This routine deactivates updating of the current time of day.
- */
-
-RTEMS_INLINE_ROUTINE void _TOD_Deactivate( void )
-{
- /* XXX do we need something now that we are using timespec for TOD */
-}
-
-/**
- * This routine activates updating of the current time of day.
- */
-
-RTEMS_INLINE_ROUTINE void _TOD_Activate( void )
-{
- /* XXX do we need something now that we are using timespec for TOD */
-}
-
-/**
* This routine returns a timeval based upon the internal timespec format TOD.
*/
diff --git a/cpukit/score/src/coretod.c b/cpukit/score/src/coretod.c
index 28df21f598..bcdfa39009 100644
--- a/cpukit/score/src/coretod.c
+++ b/cpukit/score/src/coretod.c
@@ -30,5 +30,4 @@ void _TOD_Handler_initialization(void)
/* TOD has not been set */
_TOD.is_set = false;
- _TOD_Activate();
}
diff --git a/cpukit/score/src/coretodset.c b/cpukit/score/src/coretodset.c
index f2f743ddc8..ff76581bbd 100644
--- a/cpukit/score/src/coretodset.c
+++ b/cpukit/score/src/coretodset.c
@@ -31,7 +31,6 @@ void _TOD_Set_with_timestamp(
Watchdog_Interval seconds_now;
_Thread_Disable_dispatch();
- _TOD_Deactivate();
seconds_now = _TOD_Seconds_since_epoch();
@@ -44,6 +43,5 @@ void _TOD_Set_with_timestamp(
_TOD.seconds_trigger = nanoseconds;
_TOD.is_set = true;
- _TOD_Activate();
_Thread_Enable_dispatch();
}