From: Luke Browning Date: Mon, 16 Jun 2008 00:42:38 +0000 (+1000) Subject: powerpc/spufs: fix missed stop-and-signal event X-Git-Tag: v2.6.26-rc7~27^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=028fda0a6c80c26f1d9f403b4490b9ddc74ffa3b;p=pandora-kernel.git powerpc/spufs: fix missed stop-and-signal event There is a delay in the transition to the stopped state for class 2 interrupts. In some cases, the controlling thread detects the state of the spu as running, and goes back to sleep resulting in a hung application as the event is missed. This change detects the stop condition and re-generates the wakeup event after a context save. Signed-off-by: Luke Browning Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed