diff options
| author | Souptick Joarder <[email protected]> | 2018-04-14 19:15:42 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2018-05-14 12:41:34 +0000 |
| commit | 4bf2cc9645599382e34b7d0cbe5a13d0de98194e (patch) | |
| tree | 3d46b97ff3852e4a4bae70ad1a27732363cd8ef7 | |
| parent | Linux 4.17-rc5 (diff) | |
| download | kernel-4bf2cc9645599382e34b7d0cbe5a13d0de98194e.tar.gz kernel-4bf2cc9645599382e34b7d0cbe5a13d0de98194e.zip | |
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 <[email protected]>
Reviewed-by: Matthew Wilcox <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
| -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, |
