* [PATCH] mm: remove last trace of shmem_get_unmapped_area
@ 2011-05-17 18:26 Hugh Dickins
0 siblings, 0 replies; only message in thread
From: Hugh Dickins @ 2011-05-17 18:26 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm
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>
---
include/linux/mm.h | 8 --------
1 file changed, 8 deletions(-)
--- mmotm/include/linux/mm.h 2011-05-13 14:57:45.023882876 -0700
+++ linux/include/linux/mm.h 2011-05-17 11:11:49.999177144 -0700
@@ -873,14 +873,6 @@ int shmem_lock(struct file *file, int lo
struct file *shmem_file_setup(const char *name, loff_t size, unsigned long long vm_flags);
int shmem_zero_setup(struct vm_area_struct *);
-#ifndef CONFIG_MMU
-extern unsigned long shmem_get_unmapped_area(struct file *file,
- unsigned long addr,
- unsigned long len,
- unsigned long pgoff,
- unsigned long flags);
-#endif
-
extern int can_do_mlock(void);
extern int user_shm_lock(size_t, struct user_struct *);
extern void user_shm_unlock(size_t, struct user_struct *);
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-17 18:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 18:26 [PATCH] mm: remove last trace of shmem_get_unmapped_area Hugh Dickins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox