aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/vmcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/vmcore.c')
-rw-r--r--fs/proc/vmcore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
index f52d8e857ff7..885d445afa0d 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -388,7 +388,7 @@ static int remap_oldmem_pfn_checked(struct vm_area_struct *vma,
388 } 388 }
389 return 0; 389 return 0;
390fail: 390fail:
391 do_munmap(vma->vm_mm, from, len); 391 do_munmap(vma->vm_mm, from, len, NULL);
392 return -EAGAIN; 392 return -EAGAIN;
393} 393}
394 394
@@ -481,7 +481,7 @@ static int mmap_vmcore(struct file *file, struct vm_area_struct *vma)
481 481
482 return 0; 482 return 0;
483fail: 483fail:
484 do_munmap(vma->vm_mm, vma->vm_start, len); 484 do_munmap(vma->vm_mm, vma->vm_start, len, NULL);
485 return -EAGAIN; 485 return -EAGAIN;
486} 486}
487#else 487#else