Rev 248 | Rev 309 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 248 | Rev 258 | ||
---|---|---|---|
Line 518... | Line 518... | ||
518 | goto restart; |
518 | goto restart; |
519 | } |
519 | } |
520 | cpu->nrdy--; |
520 | cpu->nrdy--; |
521 | spinlock_unlock(&cpu->lock); |
521 | spinlock_unlock(&cpu->lock); |
522 | 522 | ||
523 | atomic_dec(&nrdy); |
523 | atomic_dec((int *)&nrdy); |
524 | 524 | ||
525 | r->n--; |
525 | r->n--; |
526 | list_remove(&t->rq_link); |
526 | list_remove(&t->rq_link); |
527 | 527 | ||
528 | break; |
528 | break; |