mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
![H. J. Lu](/assets/img/avatar_default.png)
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>
11 lines
284 B
C
11 lines
284 B
C
#ifndef _ASM_IA64_AUXVEC_H
|
|
#define _ASM_IA64_AUXVEC_H
|
|
|
|
/*
|
|
* Architecture-neutral AT_ values are in the range 0-17. Leave some room for more of
|
|
* them, start the architecture-specific ones at 32.
|
|
*/
|
|
#define AT_SYSINFO 32
|
|
#define AT_SYSINFO_EHDR 33
|
|
|
|
#endif /* _ASM_IA64_AUXVEC_H */
|