diff --git a/kernel/relay.c b/kernel/relay.c index 9f5326e8a036fd261de4e290ca7364a2eaaa8c22..04f248644e065f601d78744be2bbe580a6aa1810 100644 --- a/kernel/relay.c +++ b/kernel/relay.c @@ -39,7 +39,7 @@ static void relay_file_mmap_close(struct vm_area_struct *vma) /* * fault() vm_op implementation for relay file mapping. */ -static int relay_buf_fault(struct vm_fault *vmf) +static vm_fault_t relay_buf_fault(struct vm_fault *vmf) { struct page *page; struct rchan_buf *buf = vmf->vma->vm_private_data;