From 5cb1530434b0bb3bac578aaa928b8b1a621eb9a6 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 17 Feb 2009 11:44:14 +1100 Subject: [PATCH] --- yaml --- r: 138477 b: refs/heads/master c: 3688b46b89a1a64d5eeb0df5f9d82e109712fffe h: refs/heads/master i: 138475: 74d3f8943b2bd181476f1ea9bac2e2e18855fc20 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/platforms/cell/spufs/run.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b62fee1fee88..6f8c8f6fc67c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 60ee031940c1b09c137b617a8829e2f081961fe0 +refs/heads/master: 3688b46b89a1a64d5eeb0df5f9d82e109712fffe diff --git a/trunk/arch/powerpc/platforms/cell/spufs/run.c b/trunk/arch/powerpc/platforms/cell/spufs/run.c index c58bd36b0c5b..4ddf769a64e5 100644 --- a/trunk/arch/powerpc/platforms/cell/spufs/run.c +++ b/trunk/arch/powerpc/platforms/cell/spufs/run.c @@ -117,6 +117,9 @@ static int spu_setup_isolated(struct spu_context *ctx) cond_resched(); } + /* clear purge status */ + out_be64(mfc_cntl, 0); + /* put the SPE in kernel mode to allow access to the loader */ sr1 = spu_mfc_sr1_get(ctx->spu); sr1 &= ~MFC_STATE1_PROBLEM_STATE_MASK;