From: Andre Detsch Date: Tue, 21 Oct 2008 00:15:23 +0000 (+1100) Subject: powerpc/spufs: Improve search of node for contexts with SPU affinity X-Git-Tag: v2.6.28-rc1~58^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10baa26c8ccba6f100397c9ba6534be175762e8d;p=pandora-kernel.git powerpc/spufs: Improve search of node for contexts with SPU affinity This patch improves redability of the code responsible for trying to find a node with enough SPUs not committed to other affinity gangs. An additional check is also added, to avoid taking into account gangs that have no SPU affinity. Signed-off-by: Andre Detsch Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed