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 af45f315435b..b3f694eaaf37 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, | |||
153 | 153 | ||
154 | extern unsigned int vdso_enabled; | 154 | extern unsigned int vdso_enabled; |
155 | 155 | ||
156 | /* update AT_VECTOR_SIZE_ARCH if the number of NEW_AUX_ENT entries changes */ | ||
156 | #define ARCH_DLINFO \ | 157 | #define ARCH_DLINFO \ |
157 | do if (vdso_enabled) { \ | 158 | do if (vdso_enabled) { \ |
158 | NEW_AUX_ENT(AT_SYSINFO, VDSO_ENTRY); \ | 159 | NEW_AUX_ENT(AT_SYSINFO, VDSO_ENTRY); \ |
diff --git a/include/asm-x86/system_32.h b/include/asm-x86/system_32.h index e7e5d426fef5..d84e593b7dfc 100644 --- a/include/asm-x86/system_32.h +++ b/include/asm-x86/system_32.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #include <asm/cmpxchg.h> | 7 | #include <asm/cmpxchg.h> |
8 | 8 | ||
9 | #ifdef __KERNEL__ | 9 | #ifdef __KERNEL__ |
10 | #define AT_VECTOR_SIZE_ARCH 2 /* entries in ARCH_DLINFO */ | ||
10 | 11 | ||
11 | struct task_struct; /* one of the stranger aspects of C forward declarations.. */ | 12 | struct task_struct; /* one of the stranger aspects of C forward declarations.. */ |
12 | extern struct task_struct * FASTCALL(__switch_to(struct task_struct *prev, struct task_struct *next)); | 13 | extern struct task_struct * FASTCALL(__switch_to(struct task_struct *prev, struct task_struct *next)); |