mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
36d57ac4a8
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>
12 lines
237 B
C
12 lines
237 B
C
#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
|