X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fexec.c;h=5a853f03c23322533102716d826076a382e1deae;hb=579f50cee1a1c12c0113dac02eb510cdb8c7f5f0;hp=5d4d52039105cd3e017681c15f38324fd5681f4e;hpb=87ab16b644f33620db395c1f569b0fca8768161a;p=linux-2.6-microblaze.git diff --git a/fs/exec.c b/fs/exec.c index 5d4d52039105..5a853f03c233 100644 --- a/fs/exec.c +++ b/fs/exec.c @@ -708,7 +708,7 @@ static int shift_arg_pages(struct vm_area_struct *vma, unsigned long shift) return -ENOMEM; lru_add_drain(); - tlb_gather_mmu(&tlb, mm, old_start, old_end); + tlb_gather_mmu(&tlb, mm); if (new_end > old_start) { /* * when the old and new regions overlap clear from new_end. @@ -725,7 +725,7 @@ static int shift_arg_pages(struct vm_area_struct *vma, unsigned long shift) free_pgd_range(&tlb, old_start, old_end, new_end, vma->vm_next ? vma->vm_next->vm_start : USER_PGTABLES_CEILING); } - tlb_finish_mmu(&tlb, old_start, old_end); + tlb_finish_mmu(&tlb); /* * Shrink the vma to just the new range. Always succeeds.