diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-02 06:36:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-09 15:27:29 +0100 |
commit | 2612a0bf5b9f0105315d62cbacfa9d29a5caa4b5 (patch) | |
tree | f27e6300271c5a5d47f6ef41a6d5c4780b715fc7 /cpukit/rtems/include/rtems/rtems/tasks.h | |
parent | score: Fix _MRSP_Initialize() (diff) | |
download | rtems-2612a0bf5b9f0105315d62cbacfa9d29a5caa4b5.tar.bz2 |
score: Simplify _Scheduler_Get_by_id()
Avoid dead code in non-SMP configurations. Return scheduler identifier
independent of the current processor count of the scheduler via
rtems_scheduler_ident(), since this value may change during run-time.
Check the processor count in _Scheduler_Set() under scheduler lock
protection.
Update #2797.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 180e50eed7..3a94e348ed 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -555,8 +555,6 @@ void rtems_task_iterate( * @retval RTEMS_SUCCESSFUL Successful operation. * @retval RTEMS_INVALID_ADDRESS The @a id parameter is @c NULL. * @retval RTEMS_INVALID_NAME Invalid scheduler name. - * @retval RTEMS_UNSATISFIED A scheduler with this name exists, but the - * processor set of this scheduler is empty. */ rtems_status_code rtems_scheduler_ident( rtems_name name, |