Subversion Repositories HelenOS-historic

Rev

Rev 1196 | Rev 1229 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1196 Rev 1221
Line 631... Line 631...
631
 
631
 
632
        if (!cpus[cpu].active)
632
        if (!cpus[cpu].active)
633
            continue;
633
            continue;
634
 
634
 
635
        spinlock_lock(&cpus[cpu].lock);
635
        spinlock_lock(&cpus[cpu].lock);
636
        printf("cpu%d: address=%P, nrdy=%ld, needs_relink=%ld\n",
636
        printf("cpu%d: address=%p, nrdy=%ld, needs_relink=%ld\n",
637
               cpus[cpu].id, &cpus[cpu], atomic_get(&cpus[cpu].nrdy), cpus[cpu].needs_relink);
637
               cpus[cpu].id, &cpus[cpu], atomic_get(&cpus[cpu].nrdy), cpus[cpu].needs_relink);
638
       
638
       
639
        for (i=0; i<RQ_COUNT; i++) {
639
        for (i=0; i<RQ_COUNT; i++) {
640
            r = &cpus[cpu].rq[i];
640
            r = &cpus[cpu].rq[i];
641
            spinlock_lock(&r->lock);
641
            spinlock_lock(&r->lock);