diff options
-rw-r--r-- | arch/s390/kernel/vdso.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index e3150dd2fe74..f438d74dedbd 100644 --- a/arch/s390/kernel/vdso.c +++ b/arch/s390/kernel/vdso.c | |||
@@ -203,7 +203,6 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
203 | if (!uses_interp) | 203 | if (!uses_interp) |
204 | return 0; | 204 | return 0; |
205 | 205 | ||
206 | vdso_base = mm->mmap_base; | ||
207 | #ifdef CONFIG_64BIT | 206 | #ifdef CONFIG_64BIT |
208 | vdso_pagelist = vdso64_pagelist; | 207 | vdso_pagelist = vdso64_pagelist; |
209 | vdso_pages = vdso64_pages; | 208 | vdso_pages = vdso64_pages; |
@@ -233,8 +232,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
233 | * fail and end up putting it elsewhere. | 232 | * fail and end up putting it elsewhere. |
234 | */ | 233 | */ |
235 | down_write(&mm->mmap_sem); | 234 | down_write(&mm->mmap_sem); |
236 | vdso_base = get_unmapped_area(NULL, vdso_base, | 235 | vdso_base = get_unmapped_area(NULL, 0, vdso_pages << PAGE_SHIFT, 0, 0); |
237 | vdso_pages << PAGE_SHIFT, 0, 0); | ||
238 | if (IS_ERR_VALUE(vdso_base)) { | 236 | if (IS_ERR_VALUE(vdso_base)) { |
239 | rc = vdso_base; | 237 | rc = vdso_base; |
240 | goto out_up; | 238 | goto out_up; |