]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d916bff28255bbd489f2a394460650f17479f5b
tree28137ea97f0707449e0bf85f334e7fb49a495987
parent4a31aba62305bd25a4b38307fceaec277a8ac093
powerpc/spufs: wait for stable spu status in spu_stopped()

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>
arch/powerpc/platforms/cell/spufs/run.c