[rtems commit] score: Remove affinity element from thread.
Jennifer Averett
jennifer at rtems.org
Thu Apr 3 16:13:11 UTC 2014
Module: rtems
Branch: master
Commit: da5b1b9f4c3e4788abad5dd924c5e84f8704f565
Changeset: http://git.rtems.org/rtems/commit/?id=da5b1b9f4c3e4788abad5dd924c5e84f8704f565
Author: Jennifer Averett <jennifer.averett at oarcorp.com>
Date: Tue Mar 18 12:52:43 2014 -0500
score: Remove affinity element from thread.
---
cpukit/score/include/rtems/score/thread.h | 10 ----------
cpukit/score/src/threadinitialize.c | 4 ----
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h
index 31fbbfa..1fc5076 100644
--- a/cpukit/score/include/rtems/score/thread.h
+++ b/cpukit/score/include/rtems/score/thread.h
@@ -515,16 +515,6 @@ struct Thread_Control_struct {
* _Thread_Kill_zombies().
*/
volatile bool is_executing;
-
-#if __RTEMS_HAVE_SYS_CPUSET_H__
- /**
- * @brief This field controls affinity attributes for this thread.
- *
- * Affinity attributes indicate which cpus the thread can run on
- * in an SMP system.
- */
- CPU_set_Control affinity;
-#endif
#endif
#if __RTEMS_ADA__
diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c
index fd52742..35ddd2a 100644
--- a/cpukit/score/src/threadinitialize.c
+++ b/cpukit/score/src/threadinitialize.c
@@ -205,10 +205,6 @@ bool _Thread_Initialize(
the_thread->is_scheduled = false;
the_thread->is_in_the_air = false;
the_thread->is_executing = false;
-#if __RTEMS_HAVE_SYS_CPUSET_H__
- the_thread->affinity = *(_CPU_set_Default());
- the_thread->affinity.set = &the_thread->affinity.preallocated;
-#endif
#endif
/* Initialize the CPU for the non-SMP schedulers */
More information about the vc
mailing list