]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spusched: Catch nosched contexts in spu_deactivate
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Jun 2007 00:57:57 +0000 (10:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 3 Jul 2007 05:24:45 +0000 (15:24 +1000)
commit2423fb91c1e16c4ec71d4bb19a43e34bc35a983f
tree00266a8ca2cdb95b9a62d3b60e6882bcfef2a1f7
parent1e5f8827a675ac696288b471075ebcfafd88e730
[POWERPC] spusched: Catch nosched contexts in spu_deactivate

spu_deactivate should never be called for nosched contets.  Put in
a check so we can print a stacktrace and exit early in case it
happes erroneously.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/sched.c