From: Luke Browning Date: Fri, 8 Feb 2008 04:50:41 +0000 (+1100) Subject: [POWERPC] spufs: Fix timing dependent false return from spufs_run_spu X-Git-Tag: v2.6.25-rc1~43^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85687ff2b4eab47f4d637a0d3a482bb955d3cbd4;p=pandora-kernel.git [POWERPC] spufs: Fix timing dependent false return from spufs_run_spu Stop bits are only valid when the running bit is not set. Status bits carry over from one invocation of spufs_run_spu() to another, so the RUNNING bit gets added to the previous state of the register which may have been a remote library call. In this case, it looks like another library routine should be invoked, but the spe is actually running. This fixes a problem with a testcase that exercises the scheduler. Signed-off-by: Luke Browning Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed