diff options
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 10 | ||||
-rw-r--r-- | 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 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 */ |