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
/
microblaze
/
mm
/
fault.c
diff --git
a/arch/microblaze/mm/fault.c
b/arch/microblaze/mm/fault.c
index fa4cf52aa7a6d386711690005a314ece7d67fc53..d46a5ebb7570e07869ea03b9b995374aa3bff82e 100644
(file)
--- a/
arch/microblaze/mm/fault.c
+++ b/
arch/microblaze/mm/fault.c
@@
-224,6
+224,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();