Jeremy Kerr c0bace5c70 [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 <jk@ozlabs.org>
2008-05-05 13:33:43 +10:00
..
2008-04-28 23:44:43 +02:00
2008-04-28 10:03:30 -07:00
2008-04-17 10:42:34 -04:00
2008-04-28 10:03:30 -07:00
2008-04-17 10:42:34 -04:00
2008-04-24 20:57:34 +10:00
2008-04-28 13:49:35 -07:00
2008-04-17 10:42:34 -04:00