From 0aebbfbcd2d27f505401b81c3880bb9755fb2d1b Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 12 Sep 2006 20:36:04 -0700 Subject: [PATCH] --- yaml --- r: 33908 b: refs/heads/master c: 651c923a4446dc5aee385d81c2436d6edf8c9a0c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-i386/elf.h | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 3d6094c6bff7..315bdbee9ffb 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b40c274a03f70d1f758753c56452bed506e47a09 +refs/heads/master: 651c923a4446dc5aee385d81c2436d6edf8c9a0c diff --git a/trunk/include/asm-i386/elf.h b/trunk/include/asm-i386/elf.h index 1eac92cb5b16..db4344d9f73f 100644 --- a/trunk/include/asm-i386/elf.h +++ b/trunk/include/asm-i386/elf.h @@ -7,10 +7,7 @@ #include #include -#include -#include /* for savesegment */ #include -#include #include @@ -48,6 +45,12 @@ typedef struct user_fxsr_struct elf_fpxregset_t; #define ELF_DATA ELFDATA2LSB #define ELF_ARCH EM_386 +#ifdef __KERNEL__ + +#include +#include /* for savesegment */ +#include + /* SVR4/i386 ABI (pages 3-31, 3-32) says that when the program starts %edx contains a pointer to a function which might be registered using `atexit'. This provides a mean for the dynamic linker to call DT_FINI functions for @@ -111,7 +114,6 @@ typedef struct user_fxsr_struct elf_fpxregset_t; #define ELF_PLATFORM (system_utsname.machine) -#ifdef __KERNEL__ #define SET_PERSONALITY(ex, ibcs2) do { } while (0) /*