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 | |
parent | Add support for posix_devctl() (diff) | |
download | rtems-7a4b264574ce81d5473de6d15950464ea2cff485.tar.bz2 |
Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 4 | ||||
-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 |
4 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 6baefa0a8b..05f7ef325e 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -402,7 +402,6 @@ rtems_status_code rtems_task_is_suspended( rtems_id id ); -#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) /** * @brief Gets the processor affinity set of a task. * @@ -458,7 +457,6 @@ rtems_status_code rtems_task_set_affinity( size_t cpusetsize, const cpu_set_t *cpuset ); -#endif /** * @brief Gets the scheduler of a task. @@ -561,7 +559,6 @@ rtems_status_code rtems_scheduler_ident( rtems_id *id ); -#if defined(__RTEMS_HAVE_SYS_CPUSET_H__) /** * @brief Gets the set of processors owned by the specified scheduler instance. * @@ -583,7 +580,6 @@ rtems_status_code rtems_scheduler_get_processor_set( size_t cpusetsize, cpu_set_t *cpuset ); -#endif /** * @brief Adds a processor to the set of processors owned by the specified 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 |