git.openpandora.org
/
pandora-kernel.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
[pandora-kernel.git]
/
arch
/
score
/
mm
/
fault.c
diff --git
a/arch/score/mm/fault.c
b/arch/score/mm/fault.c
index
47b600e
..
b3744ca
100644
(file)
--- a/
arch/score/mm/fault.c
+++ b/
arch/score/mm/fault.c
@@
-110,6
+110,8
@@
survive:
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();