mirror of https://gitee.com/openkylin/linux.git
arc: mm: Fix build failure
Fix misspelled define.
Fixes: 33692f2759
("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>
This commit is contained in:
parent
1c999c47a9
commit
e262eb9381
|
@ -161,7 +161,7 @@ void do_page_fault(unsigned long address, struct pt_regs *regs)
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue