]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spusched: Fix runqueue corruption
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Jun 2007 00:58:06 +0000 (10:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 3 Jul 2007 05:24:46 +0000 (15:24 +1000)
commitda7a63de2c82f4792dc6d7d8546cfe437bfd3bb3
treed1fb5cf5e5a93eea27dada901623b02bf9a01e02
parentcb6248083450c9da435fc0a44b029b5aff94734c
[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>
arch/powerpc/platforms/cell/spufs/sched.c