diff options
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
411 | static int shm_fault(struct vm_fault *vmf) | 411 | static 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); |