powerpc/spufs: wait for stable spu status in spu_stopped()
authorLuke Browning <lukebrowning@us.ibm.com>
Thu, 29 May 2008 20:46:10 +0000 (17:46 -0300)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 16 Jun 2008 04:34:59 +0000 (14:34 +1000)
If the spu is stopping (ie, the SPU_STATUS_RUNNING bit is still set),
re-read the register to get the final stopped value.

Signed-off-by: Luke Browning <lukebrowning@us.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found