diff options
author | H. J. Lu <hjl@lucon.org> | 2005-09-06 15:16:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:21 -0700 |
commit | 36d57ac4a818cb4aa3edbdf63ad2ebc31106f925 (patch) | |
tree | 445eda00ee5974a65e21152cd240fb604c6d112d /include/asm-i386/auxvec.h | |
parent | 32605a18152b246df483fadc1c23854addde8755 (diff) | |
download | linux-36d57ac4a818cb4aa3edbdf63ad2ebc31106f925.tar.gz linux-36d57ac4a818cb4aa3edbdf63ad2ebc31106f925.tar.bz2 linux-36d57ac4a818cb4aa3edbdf63ad2ebc31106f925.zip |
[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-i386/auxvec.h')
-rw-r--r-- | include/asm-i386/auxvec.h | 11 |
1 files changed, 11 insertions, 0 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 @@ +#ifndef __ASMi386_AUXVEC_H +#define __ASMi386_AUXVEC_H + +/* + * Architecture-neutral AT_ values in 0-17, leave some room + * for more of them, start the x86-specific ones at 32. + */ +#define AT_SYSINFO 32 +#define AT_SYSINFO_EHDR 33 + +#endif |