Merge branch 'fix/soundcore' into for-linus
[pandora-kernel.git] / arch / sh / mm / tlbflush_64.c
index 7876997..fcbb6e1 100644 (file)
@@ -187,7 +187,7 @@ good_area:
         * the fault.
         */
 survive:
-       fault = handle_mm_fault(mm, vma, address, writeaccess);
+       fault = handle_mm_fault(mm, vma, address, writeaccess ? FAULT_FLAG_WRITE : 0);
        if (unlikely(fault & VM_FAULT_ERROR)) {
                if (fault & VM_FAULT_OOM)
                        goto out_of_memory;