Kernel: fix compilation with DEBUG_RACE on
This commit is contained in:
parent
a80eb6545a
commit
0f3423cd75
1 changed files with 2 additions and 2 deletions
|
@ -1737,8 +1737,8 @@ PUBLIC void proc_no_time(struct proc * p)
|
|||
*/
|
||||
p->p_cpu_time_left = ms_2_cpu_time(p->p_quantum_size_ms);
|
||||
#if DEBUG_RACE
|
||||
RTS_SET(proc_ptr, RTS_PREEMPTED);
|
||||
RTS_UNSET(proc_ptr, RTS_PREEMPTED);
|
||||
RTS_SET(p, RTS_PREEMPTED);
|
||||
RTS_UNSET(p, RTS_PREEMPTED);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue