]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/spufs: Explain conditional decrement of aff_sched_count
authorAndre Detsch <adetsch@br.ibm.com>
Tue, 21 Oct 2008 00:16:09 +0000 (11:16 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 21 Oct 2008 00:16:09 +0000 (11:16 +1100)
commit34318c253b861f82bd4a2956e6c8ae8ee2c3aae7
treeacf2a66a3d569de53a432e452f278b4ebb9b0def
parent10baa26c8ccba6f100397c9ba6534be175762e8d
powerpc/spufs: Explain conditional decrement of aff_sched_count

This patch adds a comment to clarify why atomic_dec_if_positive is being used
to decrement gang's aff_sched_count on SPU context unbind.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
arch/powerpc/platforms/cell/spufs/sched.c