diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-14 22:15:42 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-05-14 15:41:34 +0300 |
commit | 4bf2cc9645599382e34b7d0cbe5a13d0de98194e (patch) | |
tree | 3d46b97ff3852e4a4bae70ad1a27732363cd8ef7 /drivers/xen/privcmd.c | |
parent | 67b8d5c7081221efa252e111cd52532ec6d4266f (diff) | |
download | linux-4bf2cc9645599382e34b7d0cbe5a13d0de98194e.tar.xz |
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: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/privcmd.c')
-rw-r--r-- | drivers/xen/privcmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 1c909183c42a..0a778d30d333 100644 --- a/drivers/xen/privcmd.c +++ b/drivers/xen/privcmd.c @@ -801,7 +801,7 @@ static void privcmd_close(struct vm_area_struct *vma) 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", vmf->vma, vmf->vma->vm_start, vmf->vma->vm_end, |