From: Al Viro Date: Mon, 25 Aug 2008 08:12:10 +0000 (-0400) Subject: x86, um: get rid of excessive includes of uml-config.h X-Git-Tag: v2.6.28-rc1~25^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=887c57d480ee9dbfec53f2539359dd289f50acab;p=linux-2.6-omap-h63xx.git x86, um: get rid of excessive includes of uml-config.h Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- diff --git a/arch/um/include/shared/as-layout.h b/arch/um/include/shared/as-layout.h index 58e852dfb0c..a92b678503c 100644 --- a/arch/um/include/shared/as-layout.h +++ b/arch/um/include/shared/as-layout.h @@ -6,7 +6,6 @@ #ifndef __START_H__ #define __START_H__ -#include "uml-config.h" #include "kern_constants.h" /* diff --git a/arch/um/include/shared/um_mmu.h b/arch/um/include/shared/um_mmu.h index 4cc1ef4d022..b1a7e47d102 100644 --- a/arch/um/include/shared/um_mmu.h +++ b/arch/um/include/shared/um_mmu.h @@ -6,7 +6,6 @@ #ifndef __ARCH_UM_MMU_H #define __ARCH_UM_MMU_H -#include "uml-config.h" #include "mm_id.h" #include "ldt.h" diff --git a/arch/um/os-Linux/skas/mem.c b/arch/um/os-Linux/skas/mem.c index 484e68f9f7a..d261f170d12 100644 --- a/arch/um/os-Linux/skas/mem.c +++ b/arch/um/os-Linux/skas/mem.c @@ -20,7 +20,6 @@ #include "user.h" #include "sysdep/ptrace.h" #include "sysdep/stub.h" -#include "uml-config.h" extern unsigned long batch_syscall_stub, __syscall_stub_start; diff --git a/arch/um/sys-i386/shared/sysdep/ptrace.h b/arch/um/sys-i386/shared/sysdep/ptrace.h index 11c08969d13..d50e62e0707 100644 --- a/arch/um/sys-i386/shared/sysdep/ptrace.h +++ b/arch/um/sys-i386/shared/sysdep/ptrace.h @@ -6,7 +6,6 @@ #ifndef __SYSDEP_I386_PTRACE_H #define __SYSDEP_I386_PTRACE_H -#include "uml-config.h" #include "user_constants.h" #include "sysdep/faultinfo.h" diff --git a/arch/um/sys-i386/shared/sysdep/stub.h b/arch/um/sys-i386/shared/sysdep/stub.h index 8c097b87fca..977dedd9221 100644 --- a/arch/um/sys-i386/shared/sysdep/stub.h +++ b/arch/um/sys-i386/shared/sysdep/stub.h @@ -12,7 +12,6 @@ #include "as-layout.h" #include "stub-data.h" #include "kern_constants.h" -#include "uml-config.h" extern void stub_segv_handler(int sig); extern void stub_clone_handler(void); diff --git a/arch/um/sys-i386/stub.S b/arch/um/sys-i386/stub.S index 7699e89f660..c41b04bf5fa 100644 --- a/arch/um/sys-i386/stub.S +++ b/arch/um/sys-i386/stub.S @@ -1,4 +1,3 @@ -#include "uml-config.h" #include "as-layout.h" .globl syscall_stub diff --git a/arch/um/sys-x86_64/shared/sysdep/ptrace.h b/arch/um/sys-x86_64/shared/sysdep/ptrace.h index 9ea44d111f3..fdba5457947 100644 --- a/arch/um/sys-x86_64/shared/sysdep/ptrace.h +++ b/arch/um/sys-x86_64/shared/sysdep/ptrace.h @@ -8,7 +8,6 @@ #ifndef __SYSDEP_X86_64_PTRACE_H #define __SYSDEP_X86_64_PTRACE_H -#include "uml-config.h" #include "user_constants.h" #include "sysdep/faultinfo.h" diff --git a/arch/um/sys-x86_64/shared/sysdep/stub.h b/arch/um/sys-x86_64/shared/sysdep/stub.h index 655f9c2de3a..3432aa24997 100644 --- a/arch/um/sys-x86_64/shared/sysdep/stub.h +++ b/arch/um/sys-x86_64/shared/sysdep/stub.h @@ -12,7 +12,6 @@ #include "as-layout.h" #include "stub-data.h" #include "kern_constants.h" -#include "uml-config.h" extern void stub_segv_handler(int sig); extern void stub_clone_handler(void); diff --git a/arch/um/sys-x86_64/stub.S b/arch/um/sys-x86_64/stub.S index 56876876315..6d9edf9fabc 100644 --- a/arch/um/sys-x86_64/stub.S +++ b/arch/um/sys-x86_64/stub.S @@ -1,4 +1,3 @@ -#include "uml-config.h" #include "as-layout.h" .globl syscall_stub