commit | 5ef8224aaa9220bfecb362f0802cf78aad47c02a | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Wed Jan 04 20:31:24 2006 +0100 |
committer | Paul Mackerras <paulus@samba.org> | Mon Jan 09 15:44:39 2006 +1100 |
tree | 3288b9510d4ab36d627cf85f1b4160a6d8ff9823 | |
parent | e80358ad8606382154d97165121602dfae213e4a [diff] |
[PATCH] spufs: serialize sys_spu_run per spu 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>