summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-04 08:59:37 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-07 07:36:31 +0200
commit0232b28df10549d64dcc6d9fc68a332014dac8eb (patch)
tree5c5a43f51fe93858f86412f817bb05d54960fc81 /cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
parentrtems: Fix rtems_scheduler_remove_processor() (diff)
downloadrtems-0232b28df10549d64dcc6d9fc68a332014dac8eb.tar.bz2
score: Use processor mask for set affinity
Update #3059.
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h b/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
index fd4a33670f..d53f76b090 100644
--- a/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
+++ b/cpukit/score/include/rtems/score/schedulerpriorityaffinitysmp.h
@@ -141,8 +141,7 @@ Thread_Control *_Scheduler_priority_affinity_SMP_Remove_processor(
*
* @param[in] scheduler The scheduler of the thread.
* @param[in] thread The associated thread.
- * @param[in] cpusetsize The size of the cpuset.
- * @param[in] cpuset Affinity new affinity set.
+ * @param[in] affinity The new affinity set.
*
* @retval true if successful
* @retval false if unsuccessful
@@ -150,8 +149,7 @@ Thread_Control *_Scheduler_priority_affinity_SMP_Remove_processor(
bool _Scheduler_priority_affinity_SMP_Set_affinity(
const Scheduler_Control *scheduler,
Thread_Control *thread,
- size_t cpusetsize,
- const cpu_set_t *cpuset
+ const Processor_mask *affinity
);
/**