From: Arnd Bergmann Date: Wed, 4 Jan 2006 19:31:24 +0000 (+0100) Subject: [PATCH] spufs: serialize sys_spu_run per spu X-Git-Tag: v2.6.16-rc1~666^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ef8224aaa9220bfecb362f0802cf78aad47c02a;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed