aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-05-06 13:43:15 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-06 13:52:07 -0700
commit7e027b14d53e9729f823ba8652095d1e309aa8e9 (patch)
treea706e9f6ac67d92e4df18662cdb0205844a17871 /include/linux/mm.h
parentMerge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff)
downloadlinux-dev-7e027b14d53e9729f823ba8652095d1e309aa8e9.tar.xz
linux-dev-7e027b14d53e9729f823ba8652095d1e309aa8e9.zip
vm: simplify unmap_vmas() calling convention
None of the callers want to pass in 'zap_details', and it doesn't even make sense for the case of actually unmapping vma's. So remove the argument, and clean up the interface. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 74aa71bea1e4..0aeded3a2f7c 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -898,8 +898,7 @@ void zap_page_range(struct vm_area_struct *vma, unsigned long address,
unsigned long size, struct zap_details *);
void unmap_vmas(struct mmu_gather *tlb,
struct vm_area_struct *start_vma, unsigned long start_addr,
- unsigned long end_addr, unsigned long *nr_accounted,
- struct zap_details *);
+ unsigned long end_addr, unsigned long *nr_accounted);
/**
* mm_walk - callbacks for walk_page_range