]>
Commit | Line | Data |
---|---|---|
6f52b16c | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
1965aae3 PA |
2 | #ifndef _ASM_X86_AUXVEC_H |
3 | #define _ASM_X86_AUXVEC_H | |
0b4dc7c3 TG |
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 | #ifdef __i386__ | |
9 | #define AT_SYSINFO 32 | |
10 | #endif | |
11 | #define AT_SYSINFO_EHDR 33 | |
12 | ||
f05e798a DH |
13 | /* entries in ARCH_DLINFO: */ |
14 | #if defined(CONFIG_IA32_EMULATION) || !defined(CONFIG_X86_64) | |
15 | # define AT_VECTOR_SIZE_ARCH 2 | |
16 | #else /* else it's non-compat x86-64 */ | |
17 | # define AT_VECTOR_SIZE_ARCH 1 | |
18 | #endif | |
19 | ||
1965aae3 | 20 | #endif /* _ASM_X86_AUXVEC_H */ |