Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96241
b: refs/heads/master
c: d29694f
h: refs/heads/master
i:
  96239: 0b1461f
v: v3
  • Loading branch information
Jeremy Kerr committed May 5, 2008
1 parent d3a5cd9 commit 50f9589
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: c0bace5c7029ef7cbb6e6ffaa0469a3c042e5029
refs/heads/master: d29694f0681e188cf75477f20904041744e78ef7
6 changes: 2 additions & 4 deletions trunk/arch/powerpc/platforms/cell/spufs/run.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ static int spu_process_callback(struct spu_context *ctx)
u32 ls_pointer, npc;
void __iomem *ls;
long spu_ret;
int ret, ret2;
int ret;

/* get syscall block from local store */
npc = ctx->ops->npc_read(ctx) & ~3;
Expand All @@ -316,11 +316,9 @@ static int spu_process_callback(struct spu_context *ctx)
if (spu_ret <= -ERESTARTSYS) {
ret = spu_handle_restartsys(ctx, &spu_ret, &npc);
}
ret2 = spu_acquire(ctx);
mutex_lock(&ctx->state_mutex);
if (ret == -ERESTARTSYS)
return ret;
if (ret2)
return -EINTR;
}

/* need to re-get the ls, as it may have changed when we released the
Expand Down

0 comments on commit 50f9589

Please sign in to comment.