Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48243
b: refs/heads/master
c: aa56c16
h: refs/heads/master
i:
  48241: 1cac5a6
  48239: dd6698e
v: v3
  • Loading branch information
Christoph Hellwig authored and Arnd Bergmann committed Feb 13, 2007
1 parent 659174d commit 63f5458
Show file tree
Hide file tree
Showing 3 changed files with 2 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: 5cb23afc9e64841adb43d46160a5c63a80ebfd54
refs/heads/master: aa56c16807ba7b8e801216cab012d2f498755ba5
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/platforms/cell/spufs/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,8 @@ void spu_acquire_saved(struct spu_context *ctx)
up_read(&ctx->state_sema);
down_write(&ctx->state_sema);

if (ctx->state == SPU_STATE_RUNNABLE) {
if (ctx->state == SPU_STATE_RUNNABLE)
spu_deactivate(ctx);
ctx->state = SPU_STATE_SAVED;
}

downgrade_write(&ctx->state_sema);
}
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ void spu_yield(struct spu_context *ctx)
pr_debug("%s: yielding SPU %d NODE %d\n",
__FUNCTION__, spu->number, spu->node);
spu_deactivate(ctx);
ctx->state = SPU_STATE_SAVED;
need_yield = 1;
} else {
spu->prio = MAX_PRIO;
Expand Down

0 comments on commit 63f5458

Please sign in to comment.