powerpc/spufs: Clear purge status before setting up isolated mode
commit3688b46b89a1a64d5eeb0df5f9d82e109712fffe
authorJeremy Kerr <jk@ozlabs.org>
Tue, 17 Feb 2009 00:44:14 +0000 (17 11:44 +1100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Feb 2009 23:48:59 +0000 (23 10:48 +1100)
tree51837883e7cfe16f1e8434758f1b4186b72c1a2c
parent60ee031940c1b09c137b617a8829e2f081961fe0
powerpc/spufs: Clear purge status before setting up isolated mode

Currently, we may setup the MFC for isolated mode initilaisation with
the purge still active. This means that DMAs required to perform the
init do not happen.

This change clears the purge status after doing the purge, so that
the isolated init can proceed.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/spufs/run.c