Module: xenomai-2.6
Branch: master
Commit: 01326283b9564d0ff001e34d0a5bc5d38da5df7a
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=01326283b9564d0ff001e34d0a5bc5d38da5df7a

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue May 28 16:17:35 2013 +0200

wrappers: pull MAX_RT_PRIO from linux/sched/rt.h (>= 3.9.0)

---

 include/asm-generic/wrappers.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index 0fb47a9..f0b6caf 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -745,6 +745,10 @@ unsigned long vm_mmap(struct file *file, unsigned long 
addr,
 #define KGIDT_INIT(pid) (pid)
 #endif /* LINUX < 3.8.0 */
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,9,0)
+#include <linux/sched/rt.h>
+#endif /* LINUX >= 3.9.0 */
+
 #include <linux/seq_file.h>
 #ifndef SEQ_START_TOKEN
 #define SEQ_START_TOKEN ((void *)1)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to