From: Jeremy Kerr Date: Wed, 23 Apr 2008 04:24:27 +0000 (+1000) Subject: [POWERPC] spufs: update master runcntl with context lock held X-Git-Tag: v2.6.26-rc2~16^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0bace5c7029ef7cbb6e6ffaa0469a3c042e5029;p=pandora-kernel.git [POWERPC] spufs: update master runcntl with context lock held Currently, we update the SPU master run control bit (ie, spu_enable_spu) in spufs_run_spu before we grab the context mutex. This can result in races with other processes accessing this context's resources. This change moves the spu_enable_spu to after we have acquired the context lock. Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed