diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-17 08:12:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-09-21 07:39:09 +0200 |
commit | 0036ddf1f6263c3d352645f4d3a9afe4ba388bb2 (patch) | |
tree | 12ca0a7b11829ad7868f41622461607930550bda /cpukit/include/rtems/score/schedulerprioritysmp.h | |
parent | score: SCHEDULER_OPERATION_DEFAULT_GET_SET_AFFINITY (diff) | |
download | rtems-0036ddf1f6263c3d352645f4d3a9afe4ba388bb2.tar.bz2 |
score: Provide two thread pin/unpin defaults
The uniprocessor schedulers do not support systems with more than more
processors. So they rivially support thread pinning and thus the
SMP_FATAL_SCHEDULER_PIN_OR_UNPIN_NOT_SUPPORTED cannot happen.
Add a second default implementation for SMP schedulers which do not
support thread pinning.
Change license to BSD-2-Clause according to file history and re-licensing
agreement.
Update #3053.
Diffstat (limited to 'cpukit/include/rtems/score/schedulerprioritysmp.h')
-rw-r--r-- | cpukit/include/rtems/score/schedulerprioritysmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/schedulerprioritysmp.h b/cpukit/include/rtems/score/schedulerprioritysmp.h index 80979a36ba..56f4aa5a5b 100644 --- a/cpukit/include/rtems/score/schedulerprioritysmp.h +++ b/cpukit/include/rtems/score/schedulerprioritysmp.h @@ -93,8 +93,8 @@ typedef struct { _Scheduler_priority_SMP_Ask_for_help, \ _Scheduler_priority_SMP_Reconsider_help_request, \ _Scheduler_priority_SMP_Withdraw_node, \ - _Scheduler_default_Pin_or_unpin, \ - _Scheduler_default_Pin_or_unpin, \ + _Scheduler_default_Pin_or_unpin_not_supported, \ + _Scheduler_default_Pin_or_unpin_not_supported, \ _Scheduler_priority_SMP_Add_processor, \ _Scheduler_priority_SMP_Remove_processor, \ _Scheduler_priority_SMP_Node_initialize, \ |