mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] mm/{,tiny-}shmem.c cleanups
shmem_{nopage,mmap} are no longer used in ipc/shm.c
Signed-off-by: Adrian Bunk <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
de01bad2f5
commit
9b83a6a852
3 changed files with 5 additions and 7 deletions
|
|
@ -126,6 +126,7 @@ int shmem_unuse(swp_entry_t entry, struct page *page)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
int shmem_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
{
|
||||
file_accessed(file);
|
||||
|
|
@ -135,6 +136,7 @@ int shmem_mmap(struct file *file, struct vm_area_struct *vma)
|
|||
return 0;
|
||||
#endif
|
||||
}
|
||||
#endif /* 0 */
|
||||
|
||||
#ifndef CONFIG_MMU
|
||||
unsigned long shmem_get_unmapped_area(struct file *file,
|
||||
|
|
|
|||
Loading…
Reference in a new issue