summaryrefslogtreecommitdiffstats
path: root/tools/schedsim/rtems/rtems_init.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/schedsim/rtems/rtems_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/schedsim/rtems/rtems_init.c b/tools/schedsim/rtems/rtems_init.c
index 1e6a5b6893..4e7ab0d353 100644
--- a/tools/schedsim/rtems/rtems_init.c
+++ b/tools/schedsim/rtems/rtems_init.c
@@ -101,7 +101,7 @@ void rtems_initialize_data_structures(void)
/*
* Now we are back in a non-dispatching critical section
*/
- _Thread_Dispatch_disable_level = 0;
+ _Thread_Dispatch_set_disable_level(0);
/*
* Print an initial message