Merge branch 'fix/soundcore' into for-linus
[pandora-kernel.git] / arch / parisc / mm / fault.c
index 92c7fa4..bfb6dd6 100644 (file)
@@ -202,7 +202,7 @@ good_area:
         * fault.
         */
 
-       fault = handle_mm_fault(mm, vma, address, (acc_type & VM_WRITE) != 0);
+       fault = handle_mm_fault(mm, vma, address, (acc_type & VM_WRITE) ? FAULT_FLAG_WRITE : 0);
        if (unlikely(fault & VM_FAULT_ERROR)) {
                /*
                 * We hit a shared mapping outside of the file, or some