aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/shm.c')
-rw-r--r--ipc/shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index eb57e2254304..3d0eb7940e9c 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -226,8 +226,8 @@ static void shm_close(struct vm_area_struct *vma)
226 mutex_unlock(&shm_ids(ns).mutex); 226 mutex_unlock(&shm_ids(ns).mutex);
227} 227}
228 228
229struct page *shm_nopage(struct vm_area_struct *vma, unsigned long address, 229static struct page *shm_nopage(struct vm_area_struct *vma,
230 int *type) 230 unsigned long address, int *type)
231{ 231{
232 struct file *file = vma->vm_file; 232 struct file *file = vma->vm_file;
233 struct shm_file_data *sfd = shm_file_data(file); 233 struct shm_file_data *sfd = shm_file_data(file);