diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/run.c')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/run.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/run.c b/arch/powerpc/platforms/cell/spufs/run.c index 05cf815dbda..58ae13b7de8 100644 --- a/arch/powerpc/platforms/cell/spufs/run.c +++ b/arch/powerpc/platforms/cell/spufs/run.c | |||
@@ -352,7 +352,8 @@ 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) & 0x3f00) == 0x2100)) | 355 | (((status >> SPU_STOP_STATUS_SHIFT) & 0x3f00) == 0x2100) && |
356 | (ctx->state == SPU_STATE_RUNNABLE)) | ||
356 | ctx->stats.libassist++; | 357 | ctx->stats.libassist++; |
357 | 358 | ||
358 | ctx->ops->master_stop(ctx); | 359 | ctx->ops->master_stop(ctx); |