]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/mn10300/mm/fault.c
Remove multiple KERN_ prefixes from printk formats
[mirror_ubuntu-bionic-kernel.git] / arch / mn10300 / mm / fault.c
index 33cf25025dac22f86dad42a8ebf8cef489db8779..a62e1e138bc101c112872eae8b4eb9e0ce61d8cf 100644 (file)
@@ -258,7 +258,7 @@ good_area:
         * make sure we exit gracefully rather than endlessly redo
         * the fault.
         */
-       fault = handle_mm_fault(mm, vma, address, write);
+       fault = handle_mm_fault(mm, vma, address, write ? FAULT_FLAG_WRITE : 0);
        if (unlikely(fault & VM_FAULT_ERROR)) {
                if (fault & VM_FAULT_OOM)
                        goto out_of_memory;