mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 00:06:51 +07:00
f05e798ad4
Disintegrate asm/system.h for X86. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: H. Peter Anvin <hpa@zytor.com> cc: x86@kernel.org
20 lines
483 B
C
20 lines
483 B
C
#ifndef _ASM_X86_AUXVEC_H
|
|
#define _ASM_X86_AUXVEC_H
|
|
/*
|
|
* Architecture-neutral AT_ values in 0-17, leave some room
|
|
* for more of them, start the x86-specific ones at 32.
|
|
*/
|
|
#ifdef __i386__
|
|
#define AT_SYSINFO 32
|
|
#endif
|
|
#define AT_SYSINFO_EHDR 33
|
|
|
|
/* entries in ARCH_DLINFO: */
|
|
#if defined(CONFIG_IA32_EMULATION) || !defined(CONFIG_X86_64)
|
|
# define AT_VECTOR_SIZE_ARCH 2
|
|
#else /* else it's non-compat x86-64 */
|
|
# define AT_VECTOR_SIZE_ARCH 1
|
|
#endif
|
|
|
|
#endif /* _ASM_X86_AUXVEC_H */
|