Skip to content

Commit

Permalink
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git…
Browse files Browse the repository at this point in the history
…/jk/spufs into merge
  • Loading branch information
Paul Mackerras committed Nov 24, 2008
2 parents be542fa + 6065726 commit 3f9b5d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/platforms/cell/spufs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f9b5d4

Please sign in to comment.