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/rtems/src | |
parent | Add support for posix_devctl() (diff) | |
download | rtems-7a4b264574ce81d5473de6d15950464ea2cff485.tar.bz2 |
Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__
Diffstat (limited to 'cpukit/rtems/src')
-rw-r--r-- | cpukit/rtems/src/schedulergetprocessorset.c | 4 | ||||
-rw-r--r-- | cpukit/rtems/src/taskgetaffinity.c | 3 | ||||
-rw-r--r-- | cpukit/rtems/src/tasksetaffinity.c | 3 |
3 files changed, 0 insertions, 10 deletions
diff --git a/cpukit/rtems/src/schedulergetprocessorset.c b/cpukit/rtems/src/schedulergetprocessorset.c index 275c563090..3b46ad07fc 100644 --- a/cpukit/rtems/src/schedulergetprocessorset.c +++ b/cpukit/rtems/src/schedulergetprocessorset.c @@ -16,8 +16,6 @@ #include "config.h" #endif -#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) - #include <rtems/rtems/tasks.h> #include <rtems/score/cpusetimpl.h> #include <rtems/score/schedulerimpl.h> @@ -47,5 +45,3 @@ rtems_status_code rtems_scheduler_get_processor_set( return RTEMS_SUCCESSFUL; } - -#endif /* defined(__RTEMS_HAVE_SYS_CPUSET_H__) */ diff --git a/cpukit/rtems/src/taskgetaffinity.c b/cpukit/rtems/src/taskgetaffinity.c index b24966d047..4519534aee 100644 --- a/cpukit/rtems/src/taskgetaffinity.c +++ b/cpukit/rtems/src/taskgetaffinity.c @@ -18,8 +18,6 @@ #include "config.h" #endif -#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) - #include <rtems/rtems/tasks.h> #include <rtems/score/threadimpl.h> #include <rtems/score/cpusetimpl.h> @@ -65,4 +63,3 @@ rtems_status_code rtems_task_get_affinity( _Thread_Dispatch_enable( cpu_self ); return ok ? RTEMS_SUCCESSFUL : RTEMS_INVALID_NUMBER; } -#endif diff --git a/cpukit/rtems/src/tasksetaffinity.c b/cpukit/rtems/src/tasksetaffinity.c index 6caf8620a3..290a13bb3a 100644 --- a/cpukit/rtems/src/tasksetaffinity.c +++ b/cpukit/rtems/src/tasksetaffinity.c @@ -18,8 +18,6 @@ #include "config.h" #endif -#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) - #include <rtems/rtems/tasks.h> #include <rtems/score/threadimpl.h> #include <rtems/score/cpusetimpl.h> @@ -65,4 +63,3 @@ rtems_status_code rtems_task_set_affinity( _Thread_Dispatch_enable( cpu_self ); return ok ? RTEMS_SUCCESSFUL : RTEMS_INVALID_NUMBER; } -#endif |