diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-04-23 14:24:27 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-05-05 13:33:43 +1000 |
commit | c0bace5c7029ef7cbb6e6ffaa0469a3c042e5029 (patch) | |
tree | 0c8183cd4dbcea455c9d4adf61a947c79696b9b3 /COPYING | |
parent | 55d7cd74d44e7e0597f95db25c12f3e6c5e7916f (diff) |
[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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions