aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2011-05-24 20:12:40 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 11:39:31 -0400
commitc856507f2b2b47a49d8587afb58930b463f6bff4 (patch)
tree496cacf39061febc828cdaf97c11ff08f51e4ab4 /include/linux/mm.h
parentb09e0fa4b4ea66266058eead43350bd7d55fec67 (diff)
mm: remove last trace of shmem_get_unmapped_area
Remove noMMU declaration of shmem_get_unmapped_area() from mm.h: it fell out of use in 2.6.21 and ceased to exist in 2.6.29. Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h8
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);
873struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags); 873struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags);
874int shmem_zero_setup(struct vm_area_struct *); 874int shmem_zero_setup(struct vm_area_struct *);
875 875
876#ifndef CONFIG_MMU
877extern 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
884extern int can_do_mlock(void); 876extern int can_do_mlock(void);
885extern int user_shm_lock(size_t, struct user_struct *); 877extern int user_shm_lock(size_t, struct user_struct *);
886extern void user_shm_unlock(size_t, struct user_struct *); 878extern void user_shm_unlock(size_t, struct user_struct *);