diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-14 15:14:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-17 08:15:40 +0200 |
commit | bf2a53d272107b8b224b1a48694da24d2d042442 (patch) | |
tree | 397d8f4917dcf8ca017aff215bdcf1d5de786f84 /cpukit/score/src/watchdogtick.c | |
parent | bsp/tms570: remove duplicate of TMS570_SCI_FLR_TX_EMPTY in console driver. (diff) | |
download | rtems-bf2a53d272107b8b224b1a48694da24d2d042442.tar.bz2 |
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.
Diffstat (limited to 'cpukit/score/src/watchdogtick.c')
-rw-r--r-- | cpukit/score/src/watchdogtick.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/watchdogtick.c b/cpukit/score/src/watchdogtick.c index ab7eadcf1d..e1c5a30f8a 100644 --- a/cpukit/score/src/watchdogtick.c +++ b/cpukit/score/src/watchdogtick.c @@ -76,14 +76,14 @@ void _Watchdog_Tick( Per_CPU_Control *cpu ) cpu->Watchdog.ticks = ticks; _Watchdog_Tickle( - &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_RELATIVE ], + &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ], ticks, &cpu->Watchdog.Lock, &lock_context ); _Timecounter_Getnanotime( &now ); - _Watchdog_Per_CPU_tickle_absolute( + _Watchdog_Per_CPU_tickle_realtime( cpu, _Watchdog_Ticks_from_timespec( &now ) ); |