diff options
author | 2007-12-20 16:39:59 +0900 | |
---|---|---|
committer | 2007-12-21 19:46:21 +1100 | |
commit | c9101bdb1b0c56a75a4618542d368fe5013946b9 (patch) | |
tree | 93c131fd8239bf537e383c29c2eb90d7346e426f /arch/powerpc/sysdev/fsl_pci.c | |
parent | [POWERPC] spufs: add enchanced simple attr macros (diff) | |
download | linux-rng-c9101bdb1b0c56a75a4618542d368fe5013946b9.tar.xz linux-rng-c9101bdb1b0c56a75a4618542d368fe5013946b9.zip |
[POWERPC] spufs: make state_mutex interruptible
Make most places that use spu_acquire/spu_acquire_saved interruptible,
this allows getting out of the spufs code when e.g. pressing ctrl+c.
There are a few places where we get called e.g. from spufs teardown
routines were we can't simply err out so these are left with a comment.
For now I've also not touched the poll routines because it's open what
libspe would expect in terms of interrupted system calls.
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.c')
0 files changed, 0 insertions, 0 deletions