summaryrefslogtreecommitdiff
path: root/cpukit/score/src/coretodset.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-17 16:19:03 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-10-24 09:37:27 +0200
commitecef36987538fe7daf033c0c9344413355d615b1 (patch)
tree1b2ba4f6e3d400b791e7f279a279b86ef63e3860 /cpukit/score/src/coretodset.c
parent381ef5c83393d3707cf74f40f1edc2d0404c3ee6 (diff)
score: Rename _Watchdog_Ticks_from_*()
Rename _Watchdog_Ticks_from_*() to _Watchdog_Realtime_from_*(). This highlights that these routines are used for the CLOCK_REALTIME watchdogs (in contrast to CLOCK_MONOTONIC). Update #3117. Update #3182.
Diffstat (limited to 'cpukit/score/src/coretodset.c')
-rw-r--r--cpukit/score/src/coretodset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coretodset.c b/cpukit/score/src/coretodset.c
index beda8c69b8..1223f5c7aa 100644
--- a/cpukit/score/src/coretodset.c
+++ b/cpukit/score/src/coretodset.c
@@ -37,7 +37,7 @@ void _TOD_Set(
timespec2bintime( tod, &tod_as_bintime );
_Timecounter_Set_clock( &tod_as_bintime, lock_context );
- tod_as_ticks = _Watchdog_Ticks_from_timespec( tod );
+ tod_as_ticks = _Watchdog_Realtime_from_timespec( tod );
cpu_count = _SMP_Get_processor_count();
for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {