aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-01-29 19:15:33 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-29 10:34:01 +0200
commit9e505ae71ac8c8f643498a9e8c01ace136140606 (patch)
tree8bdc2b208b45686f68dbd3c894f2875fae19b6db /arch
parentebe7e30a9986c36388a5f304b10715d403a57097 (diff)
downloadlinux-linaro-stable-9e505ae71ac8c8f643498a9e8c01ace136140606.tar.gz
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 <linux@roeck-us.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c
index 4b70fc309c17..08f65bcf9130 100644
--- a/arch/arc/mm/fault.c
+++ b/arch/arc/mm/fault.c
@@ -160,7 +160,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;