mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
解决了debian上编译后,kernel_thread_func被优化掉的问题
This commit is contained in:
@ -74,6 +74,7 @@ void sched_cfs()
|
||||
break;
|
||||
}
|
||||
}
|
||||
kdebug("before switch, next.rip = %#018lx\tnext->gs=%#018lx", proc->thread->rip, proc->thread->gs);
|
||||
switch_proc(current_pcb, proc);
|
||||
}
|
||||
else // 不进行切换
|
||||
|
Reference in New Issue
Block a user