summaryrefslogtreecommitdiffstats
path: root/testsuites/rhealstone/rhilatency/ilatency.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/rhealstone/rhilatency/ilatency.c')
-rw-r--r--testsuites/rhealstone/rhilatency/ilatency.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/rhealstone/rhilatency/ilatency.c b/testsuites/rhealstone/rhilatency/ilatency.c
index b7f5a1a83d..5024a73b6f 100644
--- a/testsuites/rhealstone/rhilatency/ilatency.c
+++ b/testsuites/rhealstone/rhilatency/ilatency.c
@@ -15,6 +15,7 @@
#define CONFIGURE_INIT
#include <timesys.h>
+#include <rtems/score/schedulerpriorityimpl.h>
#include <rtems/timerdrv.h>
#include <coverhd.h>
@@ -58,7 +59,10 @@ rtems_task Init(
puts( "*** START OF RHILATENCY ***" );
- if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
+ if (
+ _Scheduler_Table[ 0 ].Operations.initialize
+ != _Scheduler_priority_Initialize
+ ) {
puts( " Error ==> " );
puts( "Test only supported for deterministic priority scheduler\n" );
rtems_test_exit( 0 );