summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/exec/rtems/src/tasks.c2
-rw-r--r--cpukit/rtems/src/tasks.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/rtems/src/tasks.c b/c/src/exec/rtems/src/tasks.c
index 2f78b015f4..65c1747ab9 100644
--- a/c/src/exec/rtems/src/tasks.c
+++ b/c/src/exec/rtems/src/tasks.c
@@ -736,7 +736,7 @@ rtems_status_code rtems_task_set_priority(
the_thread->real_priority = new_priority;
if ( the_thread->resource_count == 0 ||
the_thread->current_priority > new_priority )
- _Thread_Change_priority( the_thread, new_priority );
+ _Thread_Change_priority( the_thread, new_priority, FALSE );
}
_Thread_Enable_dispatch();
return RTEMS_SUCCESSFUL;
diff --git a/cpukit/rtems/src/tasks.c b/cpukit/rtems/src/tasks.c
index 2f78b015f4..65c1747ab9 100644
--- a/cpukit/rtems/src/tasks.c
+++ b/cpukit/rtems/src/tasks.c
@@ -736,7 +736,7 @@ rtems_status_code rtems_task_set_priority(
the_thread->real_priority = new_priority;
if ( the_thread->resource_count == 0 ||
the_thread->current_priority > new_priority )
- _Thread_Change_priority( the_thread, new_priority );
+ _Thread_Change_priority( the_thread, new_priority, FALSE );
}
_Thread_Enable_dispatch();
return RTEMS_SUCCESSFUL;