From ecef36987538fe7daf033c0c9344413355d615b1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 Oct 2017 16:19:03 +0200 Subject: 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. --- cpukit/score/src/coretodset.c | 2 +- cpukit/score/src/watchdogtick.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/src') 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 ) { diff --git a/cpukit/score/src/watchdogtick.c b/cpukit/score/src/watchdogtick.c index e1c5a30f8a..3384ea60f3 100644 --- a/cpukit/score/src/watchdogtick.c +++ b/cpukit/score/src/watchdogtick.c @@ -85,7 +85,7 @@ void _Watchdog_Tick( Per_CPU_Control *cpu ) _Timecounter_Getnanotime( &now ); _Watchdog_Per_CPU_tickle_realtime( cpu, - _Watchdog_Ticks_from_timespec( &now ) + _Watchdog_Realtime_from_timespec( &now ) ); _Scheduler_Tick( cpu ); -- cgit v1.2.3