Module: xenomai-forge Branch: next Commit: 0fd141a95cd7a6b6f5b35f57e4ab993926c3f15e URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=0fd141a95cd7a6b6f5b35f57e4ab993926c3f15e
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 862d970..962afcd 100644 --- a/include/asm-generic/wrappers.h +++ b/include/asm-generic/wrappers.h @@ -78,4 +78,8 @@ 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 */ + #endif /* _XENO_ASM_GENERIC_WRAPPERS_H */ _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git