summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipc/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index 29978ee76c2e..051a3e1fb8df 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -408,7 +408,7 @@ void exit_shm(struct task_struct *task)
408 up_write(&shm_ids(ns).rwsem); 408 up_write(&shm_ids(ns).rwsem);
409} 409}
410 410
411static int shm_fault(struct vm_fault *vmf) 411static vm_fault_t shm_fault(struct vm_fault *vmf)
412{ 412{
413 struct file *file = vmf->vma->vm_file; 413 struct file *file = vmf->vma->vm_file;
414 struct shm_file_data *sfd = shm_file_data(file); 414 struct shm_file_data *sfd = shm_file_data(file);