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>
This commit is contained in:
parent
18b15fcde7
commit
7e027b14d5
3 changed files with 12 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue