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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Jun 23 16:20:31 2013 +0200

wrappers: include linux/sched.h unconditionally

---

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

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index f0b6caf..77b82ba 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -29,6 +29,7 @@
 #include <linux/version.h>
 #include <linux/module.h>
 #include <linux/slab.h>
+#include <linux/sched.h>
 #if defined(CONFIG_XENO_OPT_HOSTRT) || defined(__IPIPE_FEATURE_REQUEST_TICKDEV)
 #include <linux/ipipe_tickdev.h>
 #endif /* CONFIG_XENO_OPT_HOSTRT || __IPIPE_FEATURE_REQUEST_TICKDEV */
@@ -46,7 +47,6 @@
 
 #include <linux/wrapper.h>
 #include <linux/wait.h>
-#include <linux/sched.h>
 #include <linux/bitops.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
@@ -588,8 +588,6 @@ static inline struct task_struct 
*wrap_find_task_by_pid(pid_t nr)
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
 
-#include <linux/sched.h>
-
 #ifndef current_cap
 #define current_cap()  ((current)->cap_effective)
 #endif
@@ -709,7 +707,6 @@ static inline void wrap_proc_dir_entry_owner(struct 
proc_dir_entry *entry)
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
 
-#include <linux/sched.h>
 #include <linux/mm.h>
 #include <linux/smp.h>
 


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

Reply via email to