[rtems-schedsim commit] cpu.h: Include sys/cpuset.h so RTEMS tasks.h doesn' t have to be modified

Joel Sherrill joel at rtems.org
Thu May 22 22:47:01 UTC 2014


Module:    rtems-schedsim
Branch:    master
Commit:    c1727795a5a0c6d101b5068c4007770dff986380
Changeset: http://git.rtems.org/rtems-schedsim/commit/?id=c1727795a5a0c6d101b5068c4007770dff986380

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu May 22 17:55:04 2014 -0500

cpu.h: Include sys/cpuset.h so RTEMS tasks.h doesn't have to be modified

---

 schedsim/rtems/sched_cpu/rtems/score/cpu.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/schedsim/rtems/sched_cpu/rtems/score/cpu.h b/schedsim/rtems/sched_cpu/rtems/score/cpu.h
index aeb713b..45ae93c 100644
--- a/schedsim/rtems/sched_cpu/rtems/score/cpu.h
+++ b/schedsim/rtems/sched_cpu/rtems/score/cpu.h
@@ -39,6 +39,8 @@ extern "C" {
 
 #include <rtems/score/no_cpu.h>            /* pick up machine definitions */
 #ifndef ASM
+/* only on simulator - included in different ways on real RTEMS */
+#include <sys/cpuset.h>
 #include <rtems/score/types.h>
 #endif
 




More information about the vc mailing list