mm/hmm: convert to use vm_fault_t
[muen/linux.git] / mm / hmm.c
index a04e4b81061012b003c260d8e3cabc388947090c..fe1cd87e49acc94641eaf7178dc07e5c4306e408 100644 (file)
--- a/mm/hmm.c
+++ b/mm/hmm.c
@@ -990,7 +990,7 @@ static void hmm_devmem_ref_kill(struct percpu_ref *ref)
        percpu_ref_kill(ref);
 }
 
-static int hmm_devmem_fault(struct vm_area_struct *vma,
+static vm_fault_t hmm_devmem_fault(struct vm_area_struct *vma,
                            unsigned long addr,
                            const struct page *page,
                            unsigned int flags,