summaryrefslogtreecommitdiffstats
path: root/schedsim/rtems/sched_cpu/sys/cpuset.h
diff options
context:
space:
mode:
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
+