Changeset 623ba26c in mainline for src/proc/scheduler.c
- Timestamp:
- 2005-09-01T14:42:09Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e83a9f7
- Parents:
- db3341e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/proc/scheduler.c
rdb3341e r623ba26c 47 47 #include <mm/frame.h> 48 48 #include <mm/heap.h> 49 50 51 volatile int nrdy;49 #include <debug.h> 50 51 volatile count_t nrdy; 52 52 53 53 … … 90 90 runq_t *r; 91 91 int i, n; 92 93 ASSERT(CPU != NULL); 92 94 93 95 loop: … … 148 150 spinlock_unlock(&CPU->lock); 149 151 150 atomic_dec( &nrdy);152 atomic_dec((int *) &nrdy); 151 153 r->n--; 152 154 … … 230 232 volatile pri_t pri; 231 233 234 ASSERT(CPU != NULL); 235 232 236 pri = cpu_priority_high(); 233 237 … … 292 296 { 293 297 int priority; 298 299 ASSERT(CPU != NULL); 294 300 295 301 if (THREAD) {
Note:
See TracChangeset
for help on using the changeset viewer.