From: Luke Browning Date: Mon, 23 Apr 2007 19:08:13 +0000 (+0200) Subject: [POWERPC] spu sched: make addition to stop_wq and runque atomic vs wakeup X-Git-Tag: v2.6.22-rc1~1109^2~72^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0f4ed0df71013290cd2a01f7b84264f7b99678;p=pandora-kernel.git [POWERPC] spu sched: make addition to stop_wq and runque atomic vs wakeup Addition to stop_wq needs to happen before adding to the runqeueue and under the same lock so that we don't have a race window for a lost wake up in the spu scheduler. Signed-off-by: Luke Browning Signed-off-by: Christoph Hellwig Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed