From 1dc66622762fa9921a62fc0cd73f12641278f23f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 13 Apr 2015 13:57:57 +0200 Subject: score: Rename _Watchdog_Reset() Update #2307. --- cpukit/posix/src/ualarm.c | 2 +- cpukit/rtems/src/timerreset.c | 3 +-- cpukit/score/include/rtems/score/watchdogimpl.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cpukit/posix/src/ualarm.c b/cpukit/posix/src/ualarm.c index 46fc533623..d9a85e6a92 100644 --- a/cpukit/posix/src/ualarm.c +++ b/cpukit/posix/src/ualarm.c @@ -54,7 +54,7 @@ static void _POSIX_signals_Ualarm_TSR( /* * If the reset interval is non-zero, reschedule ourselves. */ - _Watchdog_Reset( &_POSIX_signals_Ualarm_timer ); + _Watchdog_Reset_ticks( &_POSIX_signals_Ualarm_timer ); } useconds_t ualarm( diff --git a/cpukit/rtems/src/timerreset.c b/cpukit/rtems/src/timerreset.c index 495780aa8d..49c4925aa3 100644 --- a/cpukit/rtems/src/timerreset.c +++ b/cpukit/rtems/src/timerreset.c @@ -51,8 +51,7 @@ rtems_status_code rtems_timer_reset( case OBJECTS_LOCAL: if ( the_timer->the_class == TIMER_INTERVAL ) { - _Watchdog_Remove( &the_timer->Ticker ); - _Watchdog_Insert( &_Watchdog_Ticks_header, &the_timer->Ticker ); + _Watchdog_Reset_ticks( &the_timer->Ticker ); } else if ( the_timer->the_class == TIMER_INTERVAL_ON_TASK ) { Timer_server_Control *timer_server = _Timer_server; diff --git a/cpukit/score/include/rtems/score/watchdogimpl.h b/cpukit/score/include/rtems/score/watchdogimpl.h index 67a2d69cf3..83db868854 100644 --- a/cpukit/score/include/rtems/score/watchdogimpl.h +++ b/cpukit/score/include/rtems/score/watchdogimpl.h @@ -321,7 +321,7 @@ RTEMS_INLINE_ROUTINE void _Watchdog_Insert_seconds( * many ticks. */ -RTEMS_INLINE_ROUTINE void _Watchdog_Reset( +RTEMS_INLINE_ROUTINE void _Watchdog_Reset_ticks( Watchdog_Control *the_watchdog ) { -- cgit v1.2.3