projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vm: add VM_FAULT_SIGSEGV handling support
[firefly-linux-kernel-4.4.55.git]
/
arch
/
tile
/
mm
/
fault.c
diff --git
a/arch/tile/mm/fault.c
b/arch/tile/mm/fault.c
index 565e25a98334201ee031d09381ea570a2fcbda03..0f61a73534e6d7c41ccf56ee71244f926908f6d0 100644
(file)
--- a/
arch/tile/mm/fault.c
+++ b/
arch/tile/mm/fault.c
@@
-442,6
+442,8
@@
good_area:
if (unlikely(fault & VM_FAULT_ERROR)) {
if (fault & VM_FAULT_OOM)
goto out_of_memory;
+ else if (fault & VM_FAULT_SIGSEGV)
+ goto bad_area;
else if (fault & VM_FAULT_SIGBUS)
goto do_sigbus;
BUG();