delete debug code
This commit is contained in:
@@ -2485,8 +2485,7 @@ void schedule(void)
|
|||||||
struct thread *last;
|
struct thread *last;
|
||||||
|
|
||||||
if (cpu_local_var(no_preempt)) {
|
if (cpu_local_var(no_preempt)) {
|
||||||
kprintf("no schedule() while no preemption! \n");
|
dkprintf("no schedule() while no preemption! \n");
|
||||||
panic("panic schedule\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user