[POWERPC] spufs: optimize spu_run
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Feb 2007 20:54:24 +0000 (21:54 +0100)
committerArnd Bergmann <arnd@klappe.arndb.de>
Tue, 13 Feb 2007 20:55:41 +0000 (21:55 +0100)
commit26bec67386dbf6ef887254e815398842e182cdcd
treecde0851af46df1b376a7af47e7c59362506cecc5
parent079cdb61614c466c939ebf74c7ef6745667bc61e
[POWERPC] spufs: optimize spu_run

There is no need to directly wake up contexts in spu_activate when
called from spu_run, so add a flag to surpress this wakeup.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/context.c
arch/powerpc/platforms/cell/spufs/file.c
arch/powerpc/platforms/cell/spufs/run.c
arch/powerpc/platforms/cell/spufs/sched.c
arch/powerpc/platforms/cell/spufs/spufs.h