From bf2a53d272107b8b224b1a48694da24d2d042442 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 14 Oct 2017 15:14:53 +0200 Subject: score: Rename watchdog variants Rename PER_CPU_WATCHDOG_RELATIVE in PER_CPU_WATCHDOG_MONOTONIC to highlight the corresponding POSIX CLOCK_MONOTONIC. Rename PER_CPU_WATCHDOG_ABSOLUTE in PER_CPU_WATCHDOG_REALTIME to highlight the corresponding POSIX CLOCK_REALTIME. Update #3117. Update #3182. --- cpukit/posix/src/timersettime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/posix/src/timersettime.c') diff --git a/cpukit/posix/src/timersettime.c b/cpukit/posix/src/timersettime.c index 1f98a7a08c..381e5002ce 100644 --- a/cpukit/posix/src/timersettime.c +++ b/cpukit/posix/src/timersettime.c @@ -42,7 +42,7 @@ static void _POSIX_Timer_Insert( _TOD_Get( &ptimer->time ); _Watchdog_Insert( - &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_RELATIVE ], + &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ], &ptimer->Timer, cpu->Watchdog.ticks + ticks ); @@ -152,7 +152,7 @@ int timer_settime( /* Stop the timer */ _Watchdog_Remove( - &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_RELATIVE ], + &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ], &ptimer->Timer ); -- cgit v1.2.3