aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2007-05-08 03:28:59 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:08 -0400
commit7e80d0d0b64f5c00b0ac7e623d96189309c298ca (patch)
tree748942edea32fb94fdc74c0aaee06acd3d1bffc5
parentb259d74b39595f6ac74c3627b9c3657ac90249a0 (diff)
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.c1
-rw-r--r--fs/binfmt_elf.c1
-rw-r--r--include/asm-i386/elf.h2
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 @@
22#include <linux/proc_fs.h> 22#include <linux/proc_fs.h>
23#include <linux/seq_file.h> 23#include <linux/seq_file.h>
24#include <linux/dmi.h> 24#include <linux/dmi.h>
25#include <linux/capability.h>
25#include <asm/uaccess.h> 26#include <asm/uaccess.h>
26#include <asm/io.h> 27#include <asm/io.h>
27 28
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 @@
38#include <linux/syscalls.h> 38#include <linux/syscalls.h>
39#include <linux/random.h> 39#include <linux/random.h>
40#include <linux/elf.h> 40#include <linux/elf.h>
41#include <linux/utsname.h>
41#include <asm/uaccess.h> 42#include <asm/uaccess.h>
42#include <asm/param.h> 43#include <asm/param.h>
43#include <asm/page.h> 44#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 @@
9#include <asm/user.h> 9#include <asm/user.h>
10#include <asm/auxvec.h> 10#include <asm/auxvec.h>
11 11
12#include <linux/utsname.h>
13
14#define R_386_NONE 0 12#define R_386_NONE 0
15#define R_386_32 1 13#define R_386_32 1
16#define R_386_PC32 2 14#define R_386_PC32 2