From: Andre Detsch Date: Tue, 21 Aug 2007 02:06:22 +0000 (+0800) Subject: [POWERPC] spufs: Don't call spu_run_init from spu_reacquire_runnable X-Git-Tag: v2.6.23-rc5~43^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ada83daab31c3ec35845785482124373a62f430c;p=pandora-kernel.git [POWERPC] spufs: Don't call spu_run_init from spu_reacquire_runnable This fixes a major bug which was happening when a SPU thread advances its execution right after being restored to a SPU. A potentially outdated NPC value was being (re)written to the SPU. So, spu_run_init, in this case, was either not doing anything relevant, or breaking the execution of the SPU thread. This fixes a common problem of losing a mailbox write when it was done to a saved context. Signed-off-by: Andre Detsch Signed-off-by: Jeremy Kerr Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed