diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-01-23 18:54:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 19:36:58 -0500 |
commit | 0fa9aa20c33d76e98f44ff1de6e128e39a7738ca (patch) | |
tree | 52d576fcb2dade29aafa8e4bc7d2bbc900b1f5f0 /include/linux/ramfs.h | |
parent | 7a5f4f1cb0e7581ee7deb938d65f97145fa045f8 (diff) |
fs/ramfs/file-nommu.c: make ramfs_nommu_get_unmapped_area() and ramfs_nommu_mmap() static
Since commit 853ac43ab194 ("shmem: unify regular and tiny shmem"),
ramfs_nommu_get_unmapped_area() and ramfs_nommu_mmap() are not directly
referenced outside of file-nommu.c. Thus make them static.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/ramfs.h')
-rw-r--r-- | include/linux/ramfs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/ramfs.h b/include/linux/ramfs.h index 753207c8ce20..ecc730977a5a 100644 --- a/include/linux/ramfs.h +++ b/include/linux/ramfs.h | |||
@@ -14,13 +14,6 @@ ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize) | |||
14 | } | 14 | } |
15 | #else | 15 | #else |
16 | extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize); | 16 | extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize); |
17 | extern unsigned long ramfs_nommu_get_unmapped_area(struct file *file, | ||
18 | unsigned long addr, | ||
19 | unsigned long len, | ||
20 | unsigned long pgoff, | ||
21 | unsigned long flags); | ||
22 | |||
23 | extern int ramfs_nommu_mmap(struct file *file, struct vm_area_struct *vma); | ||
24 | #endif | 17 | #endif |
25 | 18 | ||
26 | extern const struct file_operations ramfs_file_operations; | 19 | extern const struct file_operations ramfs_file_operations; |