diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 7d5c37f24c63..aa20bafa40f6 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -871,8 +871,6 @@ extern void pagefault_out_of_memory(void); | |||
871 | extern void show_free_areas(unsigned int flags); | 871 | extern void show_free_areas(unsigned int flags); |
872 | extern bool skip_free_areas_node(unsigned int flags, int nid); | 872 | extern bool skip_free_areas_node(unsigned int flags, int nid); |
873 | 873 | ||
874 | int shmem_lock(struct file *file, int lock, struct user_struct *user); | ||
875 | struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags); | ||
876 | int shmem_zero_setup(struct vm_area_struct *); | 874 | int shmem_zero_setup(struct vm_area_struct *); |
877 | 875 | ||
878 | extern int can_do_mlock(void); | 876 | extern int can_do_mlock(void); |
@@ -951,11 +949,9 @@ static inline void unmap_shared_mapping_range(struct address_space *mapping, | |||
951 | extern void truncate_pagecache(struct inode *inode, loff_t old, loff_t new); | 949 | extern void truncate_pagecache(struct inode *inode, loff_t old, loff_t new); |
952 | extern void truncate_setsize(struct inode *inode, loff_t newsize); | 950 | extern void truncate_setsize(struct inode *inode, loff_t newsize); |
953 | extern int vmtruncate(struct inode *inode, loff_t offset); | 951 | extern int vmtruncate(struct inode *inode, loff_t offset); |
954 | extern int vmtruncate_range(struct inode *inode, loff_t offset, loff_t end); | ||
955 | void truncate_pagecache_range(struct inode *inode, loff_t offset, loff_t end); | 952 | void truncate_pagecache_range(struct inode *inode, loff_t offset, loff_t end); |
956 | int truncate_inode_page(struct address_space *mapping, struct page *page); | 953 | int truncate_inode_page(struct address_space *mapping, struct page *page); |
957 | int generic_error_remove_page(struct address_space *mapping, struct page *page); | 954 | int generic_error_remove_page(struct address_space *mapping, struct page *page); |
958 | |||
959 | int invalidate_inode_page(struct page *page); | 955 | int invalidate_inode_page(struct page *page); |
960 | 956 | ||
961 | #ifdef CONFIG_MMU | 957 | #ifdef CONFIG_MMU |