diff options
author | Joel Sherrill <joel@rtems.org> | 2017-01-11 09:43:06 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-01-11 09:45:32 -0600 |
commit | 7a4b264574ce81d5473de6d15950464ea2cff485 (patch) | |
tree | 22affcf300a75df7faa368cc7adc3262de705f6d /cpukit/posix/src/pthreadcreate.c | |
parent | Add support for posix_devctl() (diff) | |
download | rtems-7a4b264574ce81d5473de6d15950464ea2cff485.tar.bz2 |
Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/pthreadcreate.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c index a04ac00202..5c5ea5f4de 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -170,12 +170,10 @@ int pthread_create( } #if defined(RTEMS_SMP) -#if __RTEMS_HAVE_SYS_CPUSET_H__ - status = _CPU_set_Is_valid( the_attr->affinityset, the_attr->affinitysetsize ); + status = _CPU_set_Is_valid(the_attr->affinityset, the_attr->affinitysetsize); if ( !status ) return EINVAL; #endif -#endif /* * Currently all POSIX threads are floating point if the hardware @@ -224,7 +222,7 @@ int pthread_create( the_thread->Life.state |= THREAD_LIFE_CHANGE_DEFERRED; -#if defined(RTEMS_SMP) && __RTEMS_HAVE_SYS_CPUSET_H__ +#if defined(RTEMS_SMP) _ISR_lock_ISR_disable( &lock_context ); status = _Scheduler_Set_affinity( the_thread, |