diff options
Diffstat (limited to 'arch/x86/vdso/vdso32-setup.c')
-rw-r--r-- | arch/x86/vdso/vdso32-setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index a944020fa859..66e6d9359826 100644 --- a/arch/x86/vdso/vdso32-setup.c +++ b/arch/x86/vdso/vdso32-setup.c | |||
@@ -311,6 +311,11 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
311 | int ret = 0; | 311 | int ret = 0; |
312 | bool compat; | 312 | bool compat; |
313 | 313 | ||
314 | #ifdef CONFIG_X86_X32_ABI | ||
315 | if (test_thread_flag(TIF_X32)) | ||
316 | return x32_setup_additional_pages(bprm, uses_interp); | ||
317 | #endif | ||
318 | |||
314 | if (vdso_enabled == VDSO_DISABLED) | 319 | if (vdso_enabled == VDSO_DISABLED) |
315 | return 0; | 320 | return 0; |
316 | 321 | ||