From 9480815a222be61214b176836ef2b4ae4155ce84 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 21 Dec 2017 14:36:52 +0100 Subject: 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. --- cpukit/rtems/src/ratemoncancel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/rtems/src/ratemoncancel.c') diff --git a/cpukit/rtems/src/ratemoncancel.c b/cpukit/rtems/src/ratemoncancel.c index 0a88310d09..ee556a3153 100644 --- a/cpukit/rtems/src/ratemoncancel.c +++ b/cpukit/rtems/src/ratemoncancel.c @@ -32,7 +32,7 @@ void _Rate_monotonic_Cancel( _Rate_monotonic_Acquire_critical( the_period, lock_context ); - _Watchdog_Per_CPU_remove_monotonic( &the_period->Timer ); + _Watchdog_Per_CPU_remove_ticks( &the_period->Timer ); the_period->state = RATE_MONOTONIC_INACTIVE; _Scheduler_Cancel_job( the_period->owner, -- cgit v1.2.3