Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60641
b: refs/heads/master
c: 46cbf93
h: refs/heads/master
i:
  60639: 60eb44c
v: v3
  • Loading branch information
Christoph Hellwig authored and Paul Mackerras committed Jul 3, 2007
1 parent f6e0134 commit ea0ad84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea1ae5949d7fcd2e622226ba71741a0f43b6ef0a
refs/heads/master: 46cbf93960e64f313f6e247cbca7afaa50e3ee2c
9 changes: 9 additions & 0 deletions trunk/arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,15 @@ static int __spu_deactivate(struct spu_context *ctx, int force, int max_prio)
*/
void spu_deactivate(struct spu_context *ctx)
{
/*
* We must never reach this for a nosched context,
* but handle the case gracefull instead of panicing.
*/
if (ctx->flags & SPU_CREATE_NOSCHED) {
WARN_ON(1);
return;
}

__spu_deactivate(ctx, 1, MAX_PRIO);
}

Expand Down

0 comments on commit ea0ad84

Please sign in to comment.