summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-01-11 09:43:06 -0600
committerJoel Sherrill <joel@rtems.org>2017-01-11 09:45:32 -0600
commit7a4b264574ce81d5473de6d15950464ea2cff485 (patch)
tree22affcf300a75df7faa368cc7adc3262de705f6d /testsuites/smptests
parentAdd support for posix_devctl() (diff)
downloadrtems-7a4b264574ce81d5473de6d15950464ea2cff485.tar.bz2
Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__
Diffstat (limited to 'testsuites/smptests')
-rw-r--r--testsuites/smptests/configure.ac4
-rw-r--r--testsuites/smptests/smpaffinity01/init.c12
2 files changed, 0 insertions, 16 deletions
diff --git a/testsuites/smptests/configure.ac b/testsuites/smptests/configure.ac
index bec8149f36..f242b0b264 100644
--- a/testsuites/smptests/configure.ac
+++ b/testsuites/smptests/configure.ac
@@ -51,10 +51,6 @@ AC_CHECK_DECLS([pthread_getattr_np],[],[],[[
#define _GNU_SOURCE
#include <pthread.h>]])
-# Added to newlib pthreads for RTEMS SMP (np), may not be present
-AC_CHECK_HEADERS([sys/cpuset.h])
-AM_CONDITIONAL(HAS_CPUSET,test x"${ac_cv_header_sys_cpuset_h}" = x"yes")
-
# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile
smpmutex02/Makefile
diff --git a/testsuites/smptests/smpaffinity01/init.c b/testsuites/smptests/smpaffinity01/init.c
index 969a33274c..1b8fc72a2f 100644
--- a/testsuites/smptests/smpaffinity01/init.c
+++ b/testsuites/smptests/smpaffinity01/init.c
@@ -17,8 +17,6 @@
const char rtems_test_name[] = "SMPAFFINITY 1";
-#if defined(__RTEMS_HAVE_SYS_CPUSET_H__)
-
rtems_id Init_id;
rtems_id Med_id[NUM_CPUS-1];
rtems_id Low_id[NUM_CPUS];
@@ -226,16 +224,6 @@ static void Init(rtems_task_argument arg)
rtems_test_exit(0);
}
-#else
-static void Init(rtems_task_argument arg)
-{
- TEST_BEGIN();
- puts( " Affinity NOT Supported");
- TEST_END();
- rtems_test_exit(0);
-}
-
-#endif
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER