vm: add VM_FAULT_SIGSEGV handling support
[pandora-kernel.git] / arch / sh / mm / fault_32.c
index 7bebd04..db14482 100644 (file)
@@ -206,6 +206,8 @@ good_area:
                        goto out_of_memory;
                else if (fault & VM_FAULT_SIGBUS)
                        goto do_sigbus;
+               else if (fault & VM_FAULT_SIGSEGV)
+                       goto bad_area;
                BUG();
        }
        if (fault & VM_FAULT_MAJOR) {