diff options
author | David Howells <dhowells@redhat.com> | 2012-12-14 22:37:13 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-12-14 22:37:13 +0000 |
commit | af170c5061dd78512c469e6e2d211980cdb2c193 (patch) | |
tree | a3bb86ee66b69f832b6783124cc0482ce8058cd8 /arch/x86/include/uapi/asm/auxvec.h | |
parent | d42b3a2906a10b732ea7d7f849d49be79d242ef0 (diff) |
UAPI: (Scripted) Disintegrate arch/x86/include/asm
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86/include/uapi/asm/auxvec.h')
-rw-r--r-- | arch/x86/include/uapi/asm/auxvec.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/auxvec.h b/arch/x86/include/uapi/asm/auxvec.h new file mode 100644 index 00000000000..77203ac352d --- /dev/null +++ b/arch/x86/include/uapi/asm/auxvec.h @@ -0,0 +1,19 @@ +#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 */ |