]> err.no Git - linux-2.6/commit
[POWERPC] spufs: don't acquire state_mutex interruptible while performing callback
authorJeremy Kerr <jk@ozlabs.org>
Wed, 23 Apr 2008 06:02:10 +0000 (16:02 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 5 May 2008 03:33:43 +0000 (13:33 +1000)
commitd29694f0681e188cf75477f20904041744e78ef7
tree5c515a71302a1ad4a560c028e6a745bc11b6e400
parentc0bace5c7029ef7cbb6e6ffaa0469a3c042e5029
[POWERPC] spufs: don't acquire state_mutex interruptible while performing callback

There's currently no way to tell if spu_process_callback has
returned with the state mutex held, as -EINTR may be returned
by either the syscall or the spu_acquire fail case.

Instead, just do a non-interruptible mutex_lock here.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/run.c