From da5b1b9f4c3e4788abad5dd924c5e84f8704f565 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Tue, 18 Mar 2014 12:52:43 -0500 Subject: score: Remove affinity element from thread. --- 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 31fbbfa7d4..1fc5076d0a 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 fd52742c41..35ddd2a09b 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 */ -- cgit v1.2.3