arc: mm: Fix build failure
authorGuenter Roeck <linux@roeck-us.net>
Fri, 30 Jan 2015 03:15:33 +0000 (19:15 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2015 08:34:01 +0000 (10:34 +0200)
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>
arch/arc/mm/fault.c

index 4b70fc3..08f65bc 100644 (file)
@@ -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;