From: Guenter Roeck Date: Fri, 30 Jan 2015 03:15:33 +0000 (-0800) Subject: arc: mm: Fix build failure X-Git-Tag: v3.12.39~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=077138613c32e2739bda7c0dc35199879d34b51c;p=people%2Fms%2Flinux.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: Jiri Slaby --- diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c index 6d4094986cc4..babd9462d2c4 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;