]> err.no Git - linux-2.6/commitdiff
sched, futex: detach sched.h and futex.h
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 25 Jan 2008 20:08:34 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:34 +0000 (21:08 +0100)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/futex.h
include/linux/sched.h

index 92d420fe03f8173d072b1d8d03a7c51fdcef2125..1a15f8e237a7cf2404b1aa5bf16ccbb4f52214b4 100644 (file)
@@ -1,8 +1,12 @@
 #ifndef _LINUX_FUTEX_H
 #define _LINUX_FUTEX_H
 
-#include <linux/sched.h>
+#include <linux/compiler.h>
+#include <linux/types.h>
 
+struct inode;
+struct mm_struct;
+struct task_struct;
 union ktime;
 
 /* Second argument to futex syscall */
index 53534f90a96a6d3496eded2e76c0d2aaa31a8382..734f6d8f6ed547469be04211d72d2e97669739ae 100644 (file)
@@ -78,7 +78,6 @@ struct sched_param {
 #include <linux/proportions.h>
 #include <linux/seccomp.h>
 #include <linux/rcupdate.h>
-#include <linux/futex.h>
 #include <linux/rtmutex.h>
 
 #include <linux/time.h>
@@ -94,6 +93,7 @@ struct sched_param {
 
 struct exec_domain;
 struct futex_pi_state;
+struct robust_list_head;
 struct bio;
 
 /*