- shmem-remove-unused-shmem_get_unmapped_area.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     shmem: remove unused shmem_get_unmapped_area
has been removed from the -mm tree.  Its filename was
     shmem-remove-unused-shmem_get_unmapped_area.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: shmem: remove unused shmem_get_unmapped_area
From: Matt Mackall <mpm@xxxxxxxxxxx>

Signed-off-by: Matt Mackall <mpm@xxxxxxxxxxx>
Acked-by: David Howells <dhowells@xxxxxxxxxx>
Acked-by: Hugh Dickins <hugh@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/mm.h |    8 --------
 mm/tiny-shmem.c    |   11 -----------
 2 files changed, 19 deletions(-)

diff -puN include/linux/mm.h~shmem-remove-unused-shmem_get_unmapped_area include/linux/mm.h
--- a/include/linux/mm.h~shmem-remove-unused-shmem_get_unmapped_area
+++ a/include/linux/mm.h
@@ -722,14 +722,6 @@ struct file *shmem_file_setup(char *name
 
 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 *);
diff -puN mm/tiny-shmem.c~shmem-remove-unused-shmem_get_unmapped_area mm/tiny-shmem.c
--- a/mm/tiny-shmem.c~shmem-remove-unused-shmem_get_unmapped_area
+++ a/mm/tiny-shmem.c
@@ -121,14 +121,3 @@ int shmem_unuse(swp_entry_t entry, struc
 {
 	return 0;
 }
-
-#ifndef CONFIG_MMU
-unsigned long shmem_get_unmapped_area(struct file *file,
-				      unsigned long addr,
-				      unsigned long len,
-				      unsigned long pgoff,
-				      unsigned long flags)
-{
-	return ramfs_nommu_get_unmapped_area(file, addr, len, pgoff, flags);
-}
-#endif
_

Patches currently in -mm which might be from mpm@xxxxxxxxxxx are

origin.patch
linux-next.patch
shmem-unify-regular-and-tiny-shmem.patch
random-dont-try-to-look-at-entropy_count-outside-the-lock.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux