diff options
-rw-r--r-- | arch/x86/include/asm/elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h index 9d49c18b5ea9..3762536619f8 100644 --- a/arch/x86/include/asm/elf.h +++ b/arch/x86/include/asm/elf.h | |||
@@ -287,7 +287,7 @@ struct task_struct; | |||
287 | 287 | ||
288 | #define ARCH_DLINFO_IA32 \ | 288 | #define ARCH_DLINFO_IA32 \ |
289 | do { \ | 289 | do { \ |
290 | if (vdso32_enabled) { \ | 290 | if (VDSO_CURRENT_BASE) { \ |
291 | NEW_AUX_ENT(AT_SYSINFO, VDSO_ENTRY); \ | 291 | NEW_AUX_ENT(AT_SYSINFO, VDSO_ENTRY); \ |
292 | NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_CURRENT_BASE); \ | 292 | NEW_AUX_ENT(AT_SYSINFO_EHDR, VDSO_CURRENT_BASE); \ |
293 | } \ | 293 | } \ |