summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/timerdelete.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-12-21 14:36:52 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-02-02 15:01:20 +0100
commit9480815a222be61214b176836ef2b4ae4155ce84 (patch)
tree63c96f9a0fb79ead01e6b73d12baaa5ac8cb8378 /cpukit/posix/src/timerdelete.c
parentscore: Rename _Watchdog_Realtime_from_*() (diff)
downloadrtems-9480815a222be61214b176836ef2b4ae4155ce84.tar.bz2
score: Introduce new monotonic clock
Rename PER_CPU_WATCHDOG_MONOTONIC to PER_CPU_WATCHDOG_TICKS. Add new PER_CPU_WATCHDOG_MONOTONIC which is based on the system uptime (measured by timecounter). Close #3264.
Diffstat (limited to 'cpukit/posix/src/timerdelete.c')
-rw-r--r--cpukit/posix/src/timerdelete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/timerdelete.c b/cpukit/posix/src/timerdelete.c
index 5c21e1e80d..7670838ac2 100644
--- a/cpukit/posix/src/timerdelete.c
+++ b/cpukit/posix/src/timerdelete.c
@@ -56,7 +56,7 @@ int timer_delete(
cpu = _POSIX_Timer_Acquire_critical( ptimer, &lock_context );
ptimer->state = POSIX_TIMER_STATE_FREE;
_Watchdog_Remove(
- &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ],
+ &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_TICKS ],
&ptimer->Timer
);
_POSIX_Timer_Release( cpu, &lock_context );