Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96240
b: refs/heads/master
c: c0bace5
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Kerr committed May 5, 2008
1 parent 0b1461f commit d3a5cd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55d7cd74d44e7e0597f95db25c12f3e6c5e7916f
refs/heads/master: c0bace5c7029ef7cbb6e6ffaa0469a3c042e5029
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/platforms/cell/spufs/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -343,13 +343,14 @@ long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *event)
if (mutex_lock_interruptible(&ctx->run_mutex))
return -ERESTARTSYS;

spu_enable_spu(ctx);
ctx->event_return = 0;

ret = spu_acquire(ctx);
if (ret)
goto out_unlock;

spu_enable_spu(ctx);

spu_update_sched_info(ctx);

ret = spu_run_init(ctx, npc);
Expand Down

0 comments on commit d3a5cd9

Please sign in to comment.