]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/openrisc/mm/fault.c
vm: add VM_FAULT_SIGSEGV handling support
[karo-tx-linux.git] / arch / openrisc / mm / fault.c
index 0703acf7d3276811919fd3d398ada99b1b9c6d50..230ac20ae7944f71636e5083fdaf3f034eb10af2 100644 (file)
@@ -171,6 +171,8 @@ good_area:
        if (unlikely(fault & VM_FAULT_ERROR)) {
                if (fault & VM_FAULT_OOM)
                        goto out_of_memory;
+               else if (fault & VM_FAULT_SIGSEGV)
+                       goto bad_area;
                else if (fault & VM_FAULT_SIGBUS)
                        goto do_sigbus;
                BUG();