diff options
author | Luke Browning <lukebrowning@us.ibm.com> | 2007-04-23 21:08:13 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-04-23 21:18:55 +0200 |
commit | 4e0f4ed0df71013290cd2a01f7b84264f7b99678 (patch) | |
tree | 7fd056227ddce717269b653c563179b5b7c7b88d /arch/sh/lib/delay.c | |
parent | 7ec18ab923a2e377ecb05c74a2d38f457f79950f (diff) |
[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 <lukebrowning@us.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/sh/lib/delay.c')
0 files changed, 0 insertions, 0 deletions