mm: convert return type of handle_mm_fault() caller to vm_fault_t
[linux-block.git] / arch / nds32 / mm / fault.c
index 9bdb7c3ecbb6c4f24b1ede1d00c09270329bb47e..b740534b152c1dbf340d11db9dd1650e4228a11c 100644 (file)
@@ -73,7 +73,7 @@ void do_page_fault(unsigned long entry, unsigned long addr,
        struct mm_struct *mm;
        struct vm_area_struct *vma;
        int si_code;
-       int fault;
+       vm_fault_t fault;
        unsigned int mask = VM_READ | VM_WRITE | VM_EXEC;
        unsigned int flags = FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE;