[Xenomai-git] Philippe Gerum : wrappers: pull MAX_RT_PRIO from linux/sched/rt.h (>= 3.9.0 )
Module: xenomai-forge Branch: master Commit: 0fd141a95cd7a6b6f5b35f57e4ab993926c3f15e URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=0fd141a95cd7a6b6f5b35f57e4ab993926c3f15e Author: Philippe Gerum 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 +#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
[Xenomai-git] Philippe Gerum : wrappers: pull MAX_RT_PRIO from linux/sched/rt.h (>= 3.9.0 )
Module: xenomai-forge Branch: next Commit: 0fd141a95cd7a6b6f5b35f57e4ab993926c3f15e URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=0fd141a95cd7a6b6f5b35f57e4ab993926c3f15e Author: Philippe Gerum 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 +#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
[Xenomai-git] Philippe Gerum : wrappers: pull MAX_RT_PRIO from linux/sched/rt.h (>= 3.9.0 )
Module: xenomai-forge Branch: next Commit: fb14b21a99841685f599ddd19b3ec0ecf2096c4e URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=fb14b21a99841685f599ddd19b3ec0ecf2096c4e Author: Philippe Gerum 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 +#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
[Xenomai-git] Philippe Gerum : wrappers: pull MAX_RT_PRIO from linux/sched/rt.h (>= 3.9.0 )
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 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 +#endif /* LINUX >= 3.9.0 */ + #include #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