summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-11-24 11:54:08 +1100
committerPaul Mackerras <paulus@samba.org>2008-11-24 11:54:08 +1100
commit3f9b5d4dda6d85aab33fef32e8351ddc34c81fb4 (patch)
treeb3295e66c18503be9fd6d4e59964ecf32296e177 /arch/powerpc
parentbe542fa56b1b5b269a70b4df219d0cbd871f16d2 (diff)
parent606572634c3faa5b32a8fc430266e6e9d78d2179 (diff)
downloadop-kernel-dev-3f9b5d4dda6d85aab33fef32e8351ddc34c81fb4.zip
op-kernel-dev-3f9b5d4dda6d85aab33fef32e8351ddc34c81fb4.tar.gz
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs into merge
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/cell/spufs/file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c
index b73c369..1b26071 100644
--- a/arch/powerpc/platforms/cell/spufs/file.c
+++ b/arch/powerpc/platforms/cell/spufs/file.c
@@ -390,6 +390,9 @@ static int spufs_ps_fault(struct vm_area_struct *vma,
if (offset >= ps_size)
return VM_FAULT_SIGBUS;
+ if (fatal_signal_pending(current))
+ return VM_FAULT_SIGBUS;
+
/*
* Because we release the mmap_sem, the context may be destroyed while
* we're in spu_wait. Grab an extra reference so it isn't destroyed
OpenPOWER on IntegriCloud