commit | 27449971e6907ff38bde7bbc4647e55bd7309fc3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 29 10:58:06 2007 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Tue Jul 03 15:24:46 2007 +1000 |
tree | d1fb5cf5e5a93eea27dada901623b02bf9a01e02 | |
parent | c77239b8be74f775142d9dd01041e2ce864ba20d [diff] |
[POWERPC] spusched: Fix runqueue corruption spu_activate can be called from multiple threads at the same time on behalf of the same spu context. We need to make sure to only add it once to avoid runqueue corruption. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>