From: Guenter Roeck Date: Fri, 30 Jan 2015 03:15:33 +0000 (-0800) Subject: arc: mm: Fix build failure X-Git-Tag: v3.16.35~2900 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4f903effb9bd6867985b7026a31f8981e981e357;p=thirdparty%2Fkernel%2Fstable.git arc: mm: Fix build failure commit e262eb9381ad51b5de7a9e762ee773bbd25ce650 upstream. Fix misspelled define. Fixes: 33692f27597f ("vm: add VM_FAULT_SIGSEGV handling support") Signed-off-by: Guenter Roeck Signed-off-by: Linus Torvalds Signed-off-by: Luis Henriques --- diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c index 15879a1f864cc..01e18b58dfa4c 100644 --- a/arch/arc/mm/fault.c +++ b/arch/arc/mm/fault.c @@ -162,7 +162,7 @@ good_area: /* TBD: switch to pagefault_out_of_memory() */ if (fault & VM_FAULT_OOM) goto out_of_memory; - else if (fault & VM_FAULT_SIGSEV) + else if (fault & VM_FAULT_SIGSEGV) goto bad_area; else if (fault & VM_FAULT_SIGBUS) goto do_sigbus;