aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/cell/spufs/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c
index c69f63dd5f0a..05cf815dbdad 100644
--- a/arch/powerpc/platforms/cell/spufs/run.c
+++ b/arch/powerpc/platforms/cell/spufs/run.c
@@ -352,7 +352,7 @@ long spufs_run_spu(struct file *file, struct spu_context *ctx,
352 SPU_STATUS_SINGLE_STEP))); 352 SPU_STATUS_SINGLE_STEP)));
353 353
354 if ((status & SPU_STATUS_STOPPED_BY_STOP) && 354 if ((status & SPU_STATUS_STOPPED_BY_STOP) &&
355 ((status >> SPU_STOP_STATUS_SHIFT) & 0x2100)) 355 (((status >> SPU_STOP_STATUS_SHIFT) & 0x3f00) == 0x2100))
356 ctx->stats.libassist++; 356 ctx->stats.libassist++;
357 357
358 ctx->ops->master_stop(ctx); 358 ctx->ops->master_stop(ctx);