diff options
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/sptests/spintrcritical08/init.c | 4 | ||||
-rw-r--r-- | testsuites/sptests/spintrcritical09/init.c | 2 |
2 files changed, 3 insertions, 3 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 ); diff --git a/testsuites/sptests/spintrcritical09/init.c b/testsuites/sptests/spintrcritical09/init.c index 44eccc7821..87c1c1aab3 100644 --- a/testsuites/sptests/spintrcritical09/init.c +++ b/testsuites/sptests/spintrcritical09/init.c @@ -39,7 +39,7 @@ static rtems_timer_service_routine test_release_from_isr( ) { Per_CPU_Control *cpu_self = _Per_CPU_Get(); - Watchdog_Header *header = &cpu_self->Watchdog.Header[ PER_CPU_WATCHDOG_RELATIVE ]; + Watchdog_Header *header = &cpu_self->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ]; Watchdog_Control *watchdog = (Watchdog_Control *) header->first; if ( |