mm: convert p[te|md]_numa users to p[te|md]_protnone_numa
[linux-block.git] / arch / powerpc / mm / fault.c
index 6154b0a2b06331f0c29efe56b210baa6f90d43c7..f38327b95f761b76094ad6a30af4c3de39b07666 100644 (file)
@@ -398,8 +398,6 @@ good_area:
                 * processors use the same I/D cache coherency mechanism
                 * as embedded.
                 */
-               if (error_code & DSISR_PROTFAULT)
-                       goto bad_area;
 #endif /* CONFIG_PPC_STD_MMU */
 
                /*
@@ -423,9 +421,6 @@ good_area:
                flags |= FAULT_FLAG_WRITE;
        /* a read */
        } else {
-               /* protection fault */
-               if (error_code & 0x08000000)
-                       goto bad_area;
                if (!(vma->vm_flags & (VM_READ | VM_EXEC | VM_WRITE)))
                        goto bad_area;
        }