summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spintrcritical08/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spintrcritical08/init.c')
-rw-r--r--testsuites/sptests/spintrcritical08/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/spintrcritical08/init.c b/testsuites/sptests/spintrcritical08/init.c
index 8d17feb365..1a7ed2d2e5 100644
--- a/testsuites/sptests/spintrcritical08/init.c
+++ b/testsuites/sptests/spintrcritical08/init.c
@@ -45,7 +45,7 @@ static rtems_timer_service_routine test_release_from_isr(
)
{
Per_CPU_Control *cpu = _Per_CPU_Get();
- Watchdog_Header *header = &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_RELATIVE ];
+ Watchdog_Header *header = &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ];
Watchdog_Control *watchdog = (Watchdog_Control *) header->first;
if (
@@ -55,7 +55,7 @@ static rtems_timer_service_routine test_release_from_isr(
) {
Thread_Wait_flags flags = _Thread_Wait_flags_get( thread );
- _Watchdog_Per_CPU_remove_relative( watchdog );
+ _Watchdog_Per_CPU_remove_monotonic( watchdog );
rtems_test_assert( getState() == RATE_MONOTONIC_ACTIVE );