diff options
Diffstat (limited to 'arch/powerpc')
-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 a9c35b7b719f..0634fecfe54c 100644 --- a/arch/powerpc/platforms/cell/spufs/run.c +++ b/arch/powerpc/platforms/cell/spufs/run.c | |||
@@ -343,13 +343,14 @@ long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event) | |||
343 | if (mutex_lock_interruptible(&ctx->run_mutex)) | 343 | if (mutex_lock_interruptible(&ctx->run_mutex)) |
344 | return -ERESTARTSYS; | 344 | return -ERESTARTSYS; |
345 | 345 | ||
346 | spu_enable_spu(ctx); | ||
347 | ctx->event_return = 0; | 346 | ctx->event_return = 0; |
348 | 347 | ||
349 | ret = spu_acquire(ctx); | 348 | ret = spu_acquire(ctx); |
350 | if (ret) | 349 | if (ret) |
351 | goto out_unlock; | 350 | goto out_unlock; |
352 | 351 | ||
352 | spu_enable_spu(ctx); | ||
353 | |||
353 | spu_update_sched_info(ctx); | 354 | spu_update_sched_info(ctx); |
354 | 355 | ||
355 | ret = spu_run_init(ctx, npc); | 356 | ret = spu_run_init(ctx, npc); |