aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/tiny-shmem.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c
index d436a9c82db7..702083638c16 100644
--- a/mm/tiny-shmem.c
+++ b/mm/tiny-shmem.c
@@ -121,18 +121,6 @@ int shmem_unuse(swp_entry_t entry, struct page *page)
121 return 0; 121 return 0;
122} 122}
123 123
124#if 0
125int shmem_mmap(struct file *file, struct vm_area_struct *vma)
126{
127 file_accessed(file);
128#ifndef CONFIG_MMU
129 return ramfs_nommu_mmap(file, vma);
130#else
131 return 0;
132#endif
133}
134#endif /* 0 */
135
136#ifndef CONFIG_MMU 124#ifndef CONFIG_MMU
137unsigned long shmem_get_unmapped_area(struct file *file, 125unsigned long shmem_get_unmapped_area(struct file *file,
138 unsigned long addr, 126 unsigned long addr,