Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62252
b: refs/heads/master
c: 7e90b74
h: refs/heads/master
v: v3
  • Loading branch information
Masato Noguchi authored and Arnd Bergmann committed Jul 20, 2007
1 parent d9221db commit b70894c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 50af32a94beef566664022254d677504e51b6139
refs/heads/master: 7e90b74967ea54dbd6eb539e1cb151ec37f63d7f
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ static struct spu_context *grab_runnable_context(int prio, int node)
int best;

spin_lock(&spu_prio->runq_lock);
best = sched_find_first_bit(spu_prio->bitmap);
best = find_first_bit(spu_prio->bitmap, prio);
while (best < prio) {
struct list_head *rq = &spu_prio->runq[best];

Expand Down Expand Up @@ -738,7 +738,6 @@ int __init spu_sched_init(void)
INIT_LIST_HEAD(&spu_prio->runq[i]);
__clear_bit(i, spu_prio->bitmap);
}
__set_bit(MAX_PRIO, spu_prio->bitmap);
for (i = 0; i < MAX_NUMNODES; i++) {
mutex_init(&spu_prio->active_mutex[i]);
INIT_LIST_HEAD(&spu_prio->active_list[i]);
Expand Down

0 comments on commit b70894c

Please sign in to comment.