[POWERPC] spusched: Disable tick when not needed
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Jun 2007 00:58:05 +0000 (10:58 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 3 Jul 2007 05:24:46 +0000 (15:24 +1000)
commitc77239b8be74f775142d9dd01041e2ce864ba20d
treefd93da1686df8b83a77ae839193f1eae4ce19a66
parent08c9692b168240729cf89c69c4ad722760a5690c
[POWERPC] spusched: Disable tick when not needed

Only enable the scheduler tick if we have any context waiting to be
scheduled.

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