Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60642
b: refs/heads/master
c: df09cf3
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Paul Mackerras committed Jul 3, 2007
1 parent ea0ad84 commit a31c4aa
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 46cbf93960e64f313f6e247cbca7afaa50e3ee2c
refs/heads/master: df09cf3e2cd597d373f3a6046df0e0a50881ea44
7 changes: 6 additions & 1 deletion trunk/arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,12 @@ void spu_yield(struct spu_context *ctx)

static void spusched_tick(struct spu_context *ctx)
{
if (ctx->policy == SCHED_FIFO || --ctx->time_slice)
if (ctx->flags & SPU_CREATE_NOSCHED)
return;
if (ctx->policy == SCHED_FIFO)
return;

if (--ctx->time_slice)
return;

/*
Expand Down

0 comments on commit a31c4aa

Please sign in to comment.