Merge branch 'fix/soundcore' into for-linus
[pandora-kernel.git] / arch / microblaze / mm / fault.c
index 5e67cd1..956607a 100644 (file)
@@ -232,7 +232,7 @@ good_area:
         * the fault.
         */
 survive:
-       fault = handle_mm_fault(mm, vma, address, is_write);
+       fault = handle_mm_fault(mm, vma, address, is_write ? FAULT_FLAG_WRITE : 0);
        if (unlikely(fault & VM_FAULT_ERROR)) {
                if (fault & VM_FAULT_OOM)
                        goto out_of_memory;