diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -224,13 +224,12 @@ static void shm_close(struct vm_area_struct *vma) | |||
224 | mutex_unlock(&shm_ids(ns).mutex); | 224 | mutex_unlock(&shm_ids(ns).mutex); |
225 | } | 225 | } |
226 | 226 | ||
227 | static struct page *shm_fault(struct vm_area_struct *vma, | 227 | static int shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) |
228 | struct fault_data *fdata) | ||
229 | { | 228 | { |
230 | struct file *file = vma->vm_file; | 229 | struct file *file = vma->vm_file; |
231 | struct shm_file_data *sfd = shm_file_data(file); | 230 | struct shm_file_data *sfd = shm_file_data(file); |
232 | 231 | ||
233 | return sfd->vm_ops->fault(vma, fdata); | 232 | return sfd->vm_ops->fault(vma, vmf); |
234 | } | 233 | } |
235 | 234 | ||
236 | #ifdef CONFIG_NUMA | 235 | #ifdef CONFIG_NUMA |