Changeset 4184e76 in mainline for kernel/generic/src/proc/scheduler.c
- Timestamp:
- 2007-02-05T15:03:01Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d8d542e
- Parents:
- b513b3e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/scheduler.c
rb513b3e r4184e76 145 145 spinlock_unlock(&CPU->lock); 146 146 THREAD->saved_fpu_context = 147 147 (fpu_context_t *) slab_alloc(fpu_context_slab, 0); 148 148 /* We may have switched CPUs during slab_alloc */ 149 149 goto restart; … … 538 538 { 539 539 thread_t *t; 540 int count, average, i, j, k = 0; 540 int count, average, j, k = 0; 541 unsigned int i; 541 542 ipl_t ipl; 542 543 … … 690 691 { 691 692 ipl_t ipl; 692 int cpu,i;693 unsigned int cpu, i; 693 694 runq_t *r; 694 695 thread_t *t; … … 698 699 * let's not be interrupted */ 699 700 ipl = interrupts_disable(); 700 for (cpu =0;cpu < config.cpu_count; cpu++) {701 for (cpu = 0; cpu < config.cpu_count; cpu++) { 701 702 702 703 if (!cpus[cpu].active)
Note:
See TracChangeset
for help on using the changeset viewer.