]> git.hungrycats.org Git - linux/commitdiff
arc: mm: Fix build failure
authorGuenter Roeck <linux@roeck-us.net>
Fri, 30 Jan 2015 03:15:33 +0000 (19:15 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 12 Mar 2015 16:31:26 +0000 (17:31 +0100)
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: Jiri Slaby <jslaby@suse.cz>
arch/arc/mm/fault.c

index 6d4094986cc4990d40ddf003cd1cbc7fca8ef7ad..babd9462d2c4ed672021fc63166968acc18acf95 100644 (file)
@@ -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;