From: Jennifer Averett <jennifer.aver...@oarcorp.com> --- cpukit/score/include/rtems/score/thread.h | 10 ---------- cpukit/score/src/threadinitialize.c | 4 ---- 2 files changed, 14 deletions(-)
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 3dc423f..23b2687 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -413,16 +413,6 @@ struct Thread_Control_struct { * happen in the meantime. */ 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 e481f63..3682b50 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -208,10 +208,6 @@ bool _Thread_Initialize( /* Initialize the cpu field for the non-SMP schedulers */ the_thread->cpu = _Per_CPU_Get_by_index( 0 ); -#if __RTEMS_HAVE_SYS_CPUSET_H__ - the_thread->affinity = *(_CPU_set_Default()); - the_thread->affinity.set = &the_thread->affinity.preallocated; -#endif #endif the_thread->current_state = STATES_DORMANT; -- 1.8.1.4 _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel