From 887c57d480ee9dbfec53f2539359dd289f50acab Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 25 Aug 2008 04:12:10 -0400 Subject: x86, um: get rid of excessive includes of uml-config.h Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- arch/um/include/shared/as-layout.h | 1 - arch/um/include/shared/um_mmu.h | 1 - arch/um/os-Linux/skas/mem.c | 1 - arch/um/sys-i386/shared/sysdep/ptrace.h | 1 - arch/um/sys-i386/shared/sysdep/stub.h | 1 - arch/um/sys-i386/stub.S | 1 - arch/um/sys-x86_64/shared/sysdep/ptrace.h | 1 - arch/um/sys-x86_64/shared/sysdep/stub.h | 1 - arch/um/sys-x86_64/stub.S | 1 - 9 files changed, 9 deletions(-) diff --git a/arch/um/include/shared/as-layout.h b/arch/um/include/shared/as-layout.h index 58e852dfb0ce..a92b678503cf 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 4cc1ef4d022b..b1a7e47d1027 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 484e68f9f7ae..d261f170d120 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 11c08969d134..d50e62e07070 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 8c097b87fca7..977dedd9221b 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 7699e89f660f..c41b04bf5fa0 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 9ea44d111f33..fdba5457947a 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 655f9c2de3ac..3432aa249970 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 568768763155..6d9edf9fabce 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 -- cgit v1.2.1