Rev 2131 | Rev 2292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2131 | Rev 2283 | ||
---|---|---|---|
Line 236... | Line 236... | ||
236 | 236 | ||
237 | i = (t->priority < RQ_COUNT - 1) ? ++t->priority : t->priority; |
237 | i = (t->priority < RQ_COUNT - 1) ? ++t->priority : t->priority; |
238 | 238 | ||
239 | cpu = CPU; |
239 | cpu = CPU; |
240 | if (t->flags & THREAD_FLAG_WIRED) { |
240 | if (t->flags & THREAD_FLAG_WIRED) { |
- | 241 | ASSERT(t->cpu != NULL); |
|
241 | cpu = t->cpu; |
242 | cpu = t->cpu; |
242 | } |
243 | } |
243 | t->state = Ready; |
244 | t->state = Ready; |
244 | spinlock_unlock(&t->lock); |
245 | spinlock_unlock(&t->lock); |
245 | 246 |