aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/vdso/vma.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/entry/vdso/vma.c')
-rw-r--r--arch/x86/entry/vdso/vma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/vdso/vma.c b/arch/x86/entry/vdso/vma.c
index 10820f6cefbf..572cee3fccff 100644
--- a/arch/x86/entry/vdso/vma.c
+++ b/arch/x86/entry/vdso/vma.c
@@ -186,7 +186,7 @@ static int map_vdso(const struct vdso_image *image, unsigned long addr)
186 186
187 if (IS_ERR(vma)) { 187 if (IS_ERR(vma)) {
188 ret = PTR_ERR(vma); 188 ret = PTR_ERR(vma);
189 do_munmap(mm, text_start, image->size); 189 do_munmap(mm, text_start, image->size, NULL);
190 } else { 190 } else {
191 current->mm->context.vdso = (void __user *)text_start; 191 current->mm->context.vdso = (void __user *)text_start;
192 current->mm->context.vdso_image = image; 192 current->mm->context.vdso_image = image;