X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=arch%2Fxtensa%2Fmm%2Ffault.c;h=9e3571a6535c3b1bbc8535195ee40405fe9c42c0;hb=ffe167b0f2debbb3e21d2094508f8caca5a5bd8e;hp=b57c4f91f487efdc6b2f3f44fe43cfb12e9a7e0c;hpb=7431105b143098c3fc0ced8f9974b792f76198d7;p=karo-tx-linux.git diff --git a/arch/xtensa/mm/fault.c b/arch/xtensa/mm/fault.c index b57c4f91f487..9e3571a6535c 100644 --- a/arch/xtensa/mm/fault.c +++ b/arch/xtensa/mm/fault.c @@ -117,6 +117,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();