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
/
sparc
/
mm
/
fault_64.c
diff --git
a/arch/sparc/mm/fault_64.c
b/arch/sparc/mm/fault_64.c
index 3841a081beb3967d9f2f08d0c6d1b4abf5390ff0..ac2db923e51a254a300bc9bd5686200ae4ed08bd 100644
(file)
--- a/
arch/sparc/mm/fault_64.c
+++ b/
arch/sparc/mm/fault_64.c
@@
-443,6
+443,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();