diff options
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 48e458190d88..8eb969ebf904 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -873,14 +873,6 @@ int shmem_lock(struct file *file, int lock, struct user_struct *user); | |||
873 | struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags); | 873 | struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags); |
874 | int shmem_zero_setup(struct vm_area_struct *); | 874 | int shmem_zero_setup(struct vm_area_struct *); |
875 | 875 | ||
876 | #ifndef CONFIG_MMU | ||
877 | extern unsigned long shmem_get_unmapped_area(struct file *file, | ||
878 | unsigned long addr, | ||
879 | unsigned long len, | ||
880 | unsigned long pgoff, | ||
881 | unsigned long flags); | ||
882 | #endif | ||
883 | |||
884 | extern int can_do_mlock(void); | 876 | extern int can_do_mlock(void); |
885 | extern int user_shm_lock(size_t, struct user_struct *); | 877 | extern int user_shm_lock(size_t, struct user_struct *); |
886 | extern void user_shm_unlock(size_t, struct user_struct *); | 878 | extern void user_shm_unlock(size_t, struct user_struct *); |