提交 4bf2cc96 编写于 作者: S Souptick Joarder 提交者: Juergen Gross

xen: Change return type to vm_fault_t

Use new return type vm_fault_t for fault handler
in struct vm_operations_struct.
Signed-off-by: NSouptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: NMatthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: NJuergen Gross <jgross@suse.com>
Signed-off-by: NJuergen Gross <jgross@suse.com>
上级 67b8d5c7
...@@ -801,7 +801,7 @@ static void privcmd_close(struct vm_area_struct *vma) ...@@ -801,7 +801,7 @@ static void privcmd_close(struct vm_area_struct *vma)
kfree(pages); kfree(pages);
} }
static int privcmd_fault(struct vm_fault *vmf) static vm_fault_t privcmd_fault(struct vm_fault *vmf)
{ {
printk(KERN_DEBUG "privcmd_fault: vma=%p %lx-%lx, pgoff=%lx, uv=%p\n", printk(KERN_DEBUG "privcmd_fault: vma=%p %lx-%lx, pgoff=%lx, uv=%p\n",
vmf->vma, vmf->vma->vm_start, vmf->vma->vm_end, vmf->vma, vmf->vma->vm_start, vmf->vma->vm_end,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册