ipc: use new return type vm_fault_t
[muen/linux.git] / ipc / shm.c
index 29978ee76c2e95a8f10c73c8f5322337afe7ca2a..051a3e1fb8df9b2bcb2073e8299d31cdfc938724 100644 (file)
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -408,7 +408,7 @@ void exit_shm(struct task_struct *task)
        up_write(&shm_ids(ns).rwsem);
 }
 
-static int shm_fault(struct vm_fault *vmf)
+static vm_fault_t shm_fault(struct vm_fault *vmf)
 {
        struct file *file = vmf->vma->vm_file;
        struct shm_file_data *sfd = shm_file_data(file);