[CELL] spufs: Remove spurious WARN_ON for spu_deactivate for NOSCHED contexts
authorJeremy Kerr <jk@ozlabs.org>
Fri, 20 Jul 2007 19:39:32 +0000 (21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:41:49 +0000 (21:41 +0200)
commite840cfe6814d6f13ecb86cff7097ad7259df502e
tree4657c978028958950a249ceb3cbddb8bc15d207a
parentd054b36ffd302ec65aabec16a0c60ddd9e6b5a62
[CELL] spufs: Remove spurious WARN_ON for spu_deactivate for NOSCHED contexts

In 6cbf93960e64f313f6e247cbca7afaa50e3ee2c we added a WARN_ON for
calling spu_deactivate on contexts created with the SPU_CREATE_NOSCHED
flag. However, all NOSCHED contexts will need to be deactivated when
the context is destroyed, so this gives a spurious warning when any
NOSCHED context is closed.

This change removes the WARN_ON.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/sched.c