diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-05 18:38:09 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-21 01:39:50 (GMT) |
commit | 14f5ff5df37a8fabe2d25b1e64df7e010cc87db9 (patch) | |
tree | 10f46ad8429790de35ebad33631d435f74aaff0e /include/linux/mm.h | |
parent | 8b2a12382ccc9df31b27dac37fe04dffe088b57c (diff) | |
download | linux-fsl-qoriq-14f5ff5df37a8fabe2d25b1e64df7e010cc87db9.tar.xz |
VM: make zap_page_range() return void
... since all callers ignore its return value and it's been
useless since commit 97a894136f29802da19a15541de3c019e1ca147e
(mm: Remove i_mmap_lock lockbreak) anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 17b27cd..6c65d24 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -893,7 +893,7 @@ struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, int zap_vma_ptes(struct vm_area_struct *vma, unsigned long address, unsigned long size); -unsigned long zap_page_range(struct vm_area_struct *vma, unsigned long address, +void zap_page_range(struct vm_area_struct *vma, unsigned long address, unsigned long size, struct zap_details *); unsigned long unmap_vmas(struct mmu_gather *tlb, struct vm_area_struct *start_vma, unsigned long start_addr, |