summaryrefslogtreecommitdiffstats
path: root/schedsim/rtems/sched_cpu/sys/cpuset.h
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-05-09 08:35:58 -0500
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-05-09 08:37:18 -0500
commit2d51251192aac8527e773c98047d8597a7f02b8a (patch)
treef0098e58a37b434d4e8fcecc550e3b810da41379 /schedsim/rtems/sched_cpu/sys/cpuset.h
parentschedsim_priority: Remove scenario output files. (diff)
downloadrtems-schedsim-2d51251192aac8527e773c98047d8597a7f02b8a.tar.bz2
schedsim: Add smp support.
Diffstat (limited to 'schedsim/rtems/sched_cpu/sys/cpuset.h')
-rw-r--r--schedsim/rtems/sched_cpu/sys/cpuset.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/schedsim/rtems/sched_cpu/sys/cpuset.h b/schedsim/rtems/sched_cpu/sys/cpuset.h
new file mode 100644
index 0000000..d89bb68
--- /dev/null
+++ b/schedsim/rtems/sched_cpu/sys/cpuset.h
@@ -0,0 +1,9 @@
+/*
+ * On Linux, the cpu_set_t is defined here proteted with _GNU_SOURCE
+ * and it is defined in Makefile.am`
+ */
+#include <sched.h>
+#ifndef __CPU_ZERO_S
+#error "__CPU_ZERO_S not defined - check configuration"
+#endif
+