[PATCH] spufs: serialize sys_spu_run per spu
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2006 19:31:24 +0000 (20:31 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:44:39 +0000 (15:44 +1100)
During an earlier cleanup, we lost the serialization
of multiple spu_run calls performed on the same
spu_context. In order to get this back, introduce a
mutex in the spu_context that is held inside of spu_run.

Noticed by Al Viro.

Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found