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
/
powerpc
/
platforms
/
cell
/
spu_fault.c
diff --git
a/arch/powerpc/platforms/cell/spu_fault.c
b/arch/powerpc/platforms/cell/spu_fault.c
index
641e727
..
62f3e4e
100644
(file)
--- a/
arch/powerpc/platforms/cell/spu_fault.c
+++ b/
arch/powerpc/platforms/cell/spu_fault.c
@@
-75,7
+75,7
@@
int spu_handle_mm_fault(struct mm_struct *mm, unsigned long ea,
if (*flt & VM_FAULT_OOM) {
ret = -ENOMEM;
goto out_unlock;
- } else if (*flt &
VM_FAULT_SIGBUS
) {
+ } else if (*flt &
(VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV)
) {
ret = -EFAULT;
goto out_unlock;
}