diff options
author | Arnd Bergmann <arnd.bergmann@de.ibm.com> | 2007-12-20 08:39:59 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-21 09:46:19 +0100 |
commit | 33bfd7a73861c3727482c6c1c1c2ef40054060b7 (patch) | |
tree | 97b9ceaa32dfe08a39049fa27eda4220cc5b8cb7 /arch/powerpc/platforms/cell/spufs/spufs.h | |
parent | [POWERPC] spufs: move fault, lscsa_alloc and switch code to spufs module (diff) | |
download | linux-33bfd7a73861c3727482c6c1c1c2ef40054060b7.tar.xz linux-33bfd7a73861c3727482c6c1c1c2ef40054060b7.zip |
[POWERPC] spufs: block fault handlers in spu_acquire_runnable
This change disables the logic that faults-in spu contexts under the
covers from the page fault handler. When a fault requires a runnable
context, the handler will block until the context is scheduled by
other means.
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/spufs.h')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/spufs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h index cce50f317c78..fcab1504f117 100644 --- a/arch/powerpc/platforms/cell/spufs/spufs.h +++ b/arch/powerpc/platforms/cell/spufs/spufs.h @@ -71,6 +71,7 @@ struct spu_context { wait_queue_head_t wbox_wq; wait_queue_head_t stop_wq; wait_queue_head_t mfc_wq; + wait_queue_head_t run_wq; struct fasync_struct *ibox_fasync; struct fasync_struct *wbox_fasync; struct fasync_struct *mfc_fasync; |