diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-30 20:08:42 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-01 10:37:17 -0400 |
commit | e3fc629d7bb70848fbf479688a66d4e76dff46ac (patch) | |
tree | 96b6d5ffdb1c643fb28807a635e6ca4e24964034 /include | |
parent | 98de59bfe4b2ff6344d9ad8e5296f80de5dcc5b6 (diff) |
switch aio and shm to do_mmap_pgoff(), make do_mmap() static
after all, 0 bytes and 0 pages is the same thing...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-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 7d5c37f24c63..4189e0d0ac05 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -1394,7 +1394,7 @@ extern unsigned long get_unmapped_area(struct file *, unsigned long, unsigned lo | |||
1394 | extern unsigned long mmap_region(struct file *file, unsigned long addr, | 1394 | extern unsigned long mmap_region(struct file *file, unsigned long addr, |
1395 | unsigned long len, unsigned long flags, | 1395 | unsigned long len, unsigned long flags, |
1396 | vm_flags_t vm_flags, unsigned long pgoff); | 1396 | vm_flags_t vm_flags, unsigned long pgoff); |
1397 | extern unsigned long do_mmap(struct file *, unsigned long, | 1397 | extern unsigned long do_mmap_pgoff(struct file *, unsigned long, |
1398 | unsigned long, unsigned long, | 1398 | unsigned long, unsigned long, |
1399 | unsigned long, unsigned long); | 1399 | unsigned long, unsigned long); |
1400 | extern int do_munmap(struct mm_struct *, unsigned long, size_t); | 1400 | extern int do_munmap(struct mm_struct *, unsigned long, size_t); |