i386: sched.h inclusion from module.h is baack
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 8 May 2007 07:28:59 +0000 (00:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:08 +0000 (11:15 -0700)
  linux/module.h
  -> linux/elf.h
     -> asm-i386/elf.h
        -> linux/utsname.h
           -> linux/sched.h

Noticeably cut the number of files which are rebuild upon touching sched.h
and cut down pulled junk from every module.h inclusion.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/i8k.c
fs/binfmt_elf.c
include/asm-i386/elf.h

index 353d9f3cf8d786cda5ae06f29a25c3d63b099057..0289705967de3921b7834fefa38d5bb03aa55ae9 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/dmi.h>
+#include <linux/capability.h>
 #include <asm/uaccess.h>
 #include <asm/io.h>
 
index 2939db0231f1e24f818ac78b33c9dd17bc2745f1..67d9b3148c06b62a05989e0914ba42c385186c2c 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/syscalls.h>
 #include <linux/random.h>
 #include <linux/elf.h>
+#include <linux/utsname.h>
 #include <asm/uaccess.h>
 #include <asm/param.h>
 #include <asm/page.h>
index d304ab4161ffc885af273bb4c6500a6692905a20..b32df3a332da12853ff4ea102411bd81c13a59d5 100644 (file)
@@ -9,8 +9,6 @@
 #include <asm/user.h>
 #include <asm/auxvec.h>
 
-#include <linux/utsname.h>
-
 #define R_386_NONE     0
 #define R_386_32       1
 #define R_386_PC32     2