From: Christoph Hellwig Date: Fri, 20 Jul 2007 19:39:34 +0000 (+0200) Subject: [CELL] spufs: make sure context are scheduled again after spu_acquire_saved X-Git-Tag: v2.6.23-rc1~195^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27b1ea091f0c088ecad0d492f37fbe7b8d54d7dc;p=pandora-kernel.git [CELL] spufs: make sure context are scheduled again after spu_acquire_saved Currently a process is removed from the physical spu when spu_acquire_saved is saved but never put back. This patch adds a new spu_release_saved that is to be paired with spu_acquire_saved and put the process back if it has been in RUNNABLE state before. Niether Jeremy not be are entirely happy about this exact patch because it adds another spu_activate call outside of the owner thread, but I feel this is the best short-term fix we can come up with. Signed-off-by: Christoph Hellwig Signed-off-by: Jeremy Kerr Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed