diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-03 17:02:40 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-03 17:02:40 -0500 |
commit | 69d7279bd57b45e274a8c1aee39d58e746a1182c (patch) | |
tree | 9b01aa7be11e53554099b27e3368dce14ab48c8f /cpukit | |
parent | leon2 ckinit.c, console.c: Comment clean up (diff) | |
download | rtems-69d7279bd57b45e274a8c1aee39d58e746a1182c.tar.bz2 |
pthreadimpl.h: Conditionalize thread affinity copying
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/posix/include/rtems/posix/pthreadimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/include/rtems/posix/pthreadimpl.h b/cpukit/posix/include/rtems/posix/pthreadimpl.h index d4a04e1281..af5ddab6ce 100644 --- a/cpukit/posix/include/rtems/posix/pthreadimpl.h +++ b/cpukit/posix/include/rtems/posix/pthreadimpl.h @@ -221,7 +221,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Threads_Copy_attributes( ) { *dst_attr = *src_attr; -#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) +#if defined(RTEMS_SMP) && defined(__RTEMS_HAVE_SYS_CPUSET_H__) _Assert( dst_attr->affinitysetsize == sizeof(dst_attr->affinitysetpreallocated) ); |