diff options
author | H. J. Lu <hjl@lucon.org> | 2005-09-06 18:16:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:21 -0400 |
commit | 36d57ac4a818cb4aa3edbdf63ad2ebc31106f925 (patch) | |
tree | 445eda00ee5974a65e21152cd240fb604c6d112d /include/asm-ia64/elf.h | |
parent | 32605a18152b246df483fadc1c23854addde8755 (diff) |
[PATCH] auxiliary vector cleanups
The size of auxiliary vector is fixed at 42 in linux/sched.h. But it isn't
very obvious when looking at linux/elf.h. This patch adds AT_VECTOR_SIZE
so that we can change it if necessary when a new vector is added.
Because of include file ordering problems, doing this necessitated the
extraction of the AT_* symbols into a standalone header file.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ia64/elf.h')
-rw-r--r-- | include/asm-ia64/elf.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/asm-ia64/elf.h b/include/asm-ia64/elf.h index 7d4ccc4b976e..446fce036fd9 100644 --- a/include/asm-ia64/elf.h +++ b/include/asm-ia64/elf.h | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <asm/fpu.h> | 13 | #include <asm/fpu.h> |
14 | #include <asm/page.h> | 14 | #include <asm/page.h> |
15 | #include <asm/auxvec.h> | ||
15 | 16 | ||
16 | /* | 17 | /* |
17 | * This is used to ensure we don't load something for the wrong architecture. | 18 | * This is used to ensure we don't load something for the wrong architecture. |
@@ -177,13 +178,6 @@ extern void ia64_elf_core_copy_regs (struct pt_regs *src, elf_gregset_t dst); | |||
177 | relevant until we have real hardware to play with... */ | 178 | relevant until we have real hardware to play with... */ |
178 | #define ELF_PLATFORM NULL | 179 | #define ELF_PLATFORM NULL |
179 | 180 | ||
180 | /* | ||
181 | * Architecture-neutral AT_ values are in the range 0-17. Leave some room for more of | ||
182 | * them, start the architecture-specific ones at 32. | ||
183 | */ | ||
184 | #define AT_SYSINFO 32 | ||
185 | #define AT_SYSINFO_EHDR 33 | ||
186 | |||
187 | #ifdef __KERNEL__ | 181 | #ifdef __KERNEL__ |
188 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX) | 182 | #define SET_PERSONALITY(ex, ibcs2) set_personality(PER_LINUX) |
189 | #define elf_read_implies_exec(ex, executable_stack) \ | 183 | #define elf_read_implies_exec(ex, executable_stack) \ |