Subversion Repositories HelenOS-historic

Rev

Rev 15 | Rev 22 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15 Rev 16
Line 97... Line 97...
97
 
97
 
98
    spinlock_lock(&t->lock);
98
    spinlock_lock(&t->lock);
99
 
99
 
100
    i = (t->pri < RQ_COUNT -1) ? ++t->pri : t->pri;
100
    i = (t->pri < RQ_COUNT -1) ? ++t->pri : t->pri;
101
   
101
   
102
    cpu = the->cpu;
102
    cpu = CPU;
103
    if (t->flags & X_WIRED) {
103
    if (t->flags & X_WIRED) {
104
        cpu = t->cpu;
104
        cpu = t->cpu;
105
    }
105
    }
106
    spinlock_unlock(&t->lock);
106
    spinlock_unlock(&t->lock);
107
   
107