diff options
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/auxvec.h | 11 | ||||
-rw-r--r-- | include/asm-i386/elf.h | 8 |
2 files changed, 12 insertions, 7 deletions
diff --git a/include/asm-i386/auxvec.h b/include/asm-i386/auxvec.h new file mode 100644 index 000000000000..395e13016bfb --- /dev/null +++ b/include/asm-i386/auxvec.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #ifndef __ASMi386_AUXVEC_H | ||
2 | #define __ASMi386_AUXVEC_H | ||
3 | |||
4 | /* | ||
5 | * Architecture-neutral AT_ values in 0-17, leave some room | ||
6 | * for more of them, start the x86-specific ones at 32. | ||
7 | */ | ||
8 | #define AT_SYSINFO 32 | ||
9 | #define AT_SYSINFO_EHDR 33 | ||
10 | |||
11 | #endif | ||
diff --git a/include/asm-i386/elf.h b/include/asm-i386/elf.h index 130bdc8c68cf..fa11117d3cfa 100644 --- a/include/asm-i386/elf.h +++ b/include/asm-i386/elf.h | |||
@@ -9,6 +9,7 @@ | |||
9 | #include <asm/user.h> | 9 | #include <asm/user.h> |
10 | #include <asm/processor.h> | 10 | #include <asm/processor.h> |
11 | #include <asm/system.h> /* for savesegment */ | 11 | #include <asm/system.h> /* for savesegment */ |
12 | #include <asm/auxvec.h> | ||
12 | 13 | ||
13 | #include <linux/utsname.h> | 14 | #include <linux/utsname.h> |
14 | 15 | ||
@@ -109,13 +110,6 @@ typedef struct user_fxsr_struct elf_fpxregset_t; | |||
109 | 110 | ||
110 | #define ELF_PLATFORM (system_utsname.machine) | 111 | #define ELF_PLATFORM (system_utsname.machine) |
111 | 112 | ||
112 | /* | ||
113 | * Architecture-neutral AT_ values in 0-17, leave some room | ||
114 | * for more of them, start the x86-specific ones at 32. | ||
115 | */ | ||
116 | #define AT_SYSINFO 32 | ||
117 | #define AT_SYSINFO_EHDR 33 | ||
118 | |||
119 | #ifdef __KERNEL__ | 113 | #ifdef __KERNEL__ |
120 | #define SET_PERSONALITY(ex, ibcs2) do { } while (0) | 114 | #define SET_PERSONALITY(ex, ibcs2) do { } while (0) |
121 | 115 | ||