]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/mn10300/mm/fault.c
vm: add VM_FAULT_SIGSEGV handling support
[karo-tx-linux.git] / arch / mn10300 / mm / fault.c
index 3516cbdf1ee93acb82ebef6428f79df9af104514..0c2cc5d39c8e37ce1cfe5be191902bc435c41090 100644 (file)
@@ -262,6 +262,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();