diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2007-05-08 09:28:59 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 20:15:08 +0200 |
commit | 7e80d0d0b64f5c00b0ac7e623d96189309c298ca (patch) | |
tree | 748942edea32fb94fdc74c0aaee06acd3d1bffc5 | |
parent | ROUND_UP macro cleanup in drivers/char/lp.c (diff) | |
download | linux-7e80d0d0b64f5c00b0ac7e623d96189309c298ca.tar.xz linux-7e80d0d0b64f5c00b0ac7e623d96189309c298ca.zip |
i386: sched.h inclusion from module.h is baack
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>
-rw-r--r-- | drivers/char/i8k.c | 1 | ||||
-rw-r--r-- | fs/binfmt_elf.c | 1 | ||||
-rw-r--r-- | include/asm-i386/elf.h | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c index 353d9f3cf8d7..0289705967de 100644 --- a/drivers/char/i8k.c +++ b/drivers/char/i8k.c @@ -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> diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 2939db0231f1..67d9b3148c06 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -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> diff --git a/include/asm-i386/elf.h b/include/asm-i386/elf.h index d304ab4161ff..b32df3a332da 100644 --- a/include/asm-i386/elf.h +++ b/include/asm-i386/elf.h @@ -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 |