diff options
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/elf_32.h | 1 | ||||
-rw-r--r-- | include/asm-x86/system_32.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/elf_32.h b/include/asm-x86/elf_32.h index af45f31..b3f694e 100644 --- a/include/asm-x86/elf_32.h +++ b/include/asm-x86/elf_32.h @@ -153,6 +153,7 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm, extern unsigned int vdso_enabled; +/* update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes */ #define ARCH_DLINFO \ do if (vdso_enabled) { \ NEW_AUX_ENT(AT_SYSINFO, VDSO_ENTRY); \ diff --git a/include/asm-x86/system_32.h b/include/asm-x86/system_32.h index e7e5d42..d84e593 100644 --- a/include/asm-x86/system_32.h +++ b/include/asm-x86/system_32.h @@ -7,6 +7,7 @@ #include <asm/cmpxchg.h> #ifdef __KERNEL__ +#define AT_VECTOR_SIZE_ARCH 2 /* entries in ARCH_DLINFO */ struct task_struct; /* one of the stranger aspects of C forward declarations.. */ extern struct task_struct * FASTCALL(__switch_to(struct task_struct *prev, struct task_struct *next)); |