Commit 4f903eff authored by Guenter Roeck's avatar Guenter Roeck Committed by Luis Henriques

arc: mm: Fix build failure

commit e262eb93 upstream.

Fix misspelled define.

Fixes: 33692f27 ("vm: add VM_FAULT_SIGSEGV handling support")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent 9eb466e5
...@@ -162,7 +162,7 @@ void do_page_fault(unsigned long address, struct pt_regs *regs) ...@@ -162,7 +162,7 @@ void do_page_fault(unsigned long address, struct pt_regs *regs)
/* TBD: switch to pagefault_out_of_memory() */ /* TBD: switch to pagefault_out_of_memory() */
if (fault & VM_FAULT_OOM) if (fault & VM_FAULT_OOM)
goto out_of_memory; goto out_of_memory;
else if (fault & VM_FAULT_SIGSEV) else if (fault & VM_FAULT_SIGSEGV)
goto bad_area; goto bad_area;
else if (fault & VM_FAULT_SIGBUS) else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus; goto do_sigbus;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment