Fix copy-paste failure from linux test code

上级 d7a94965
......@@ -168,7 +168,7 @@ steal(void)
pushcli();
for (int nonexec = 0; nonexec < (steal_nonexec ? 2 : 1); nonexec++) {
for (int i = 1; i < ncpu; i++) {
for (int i = 0; i < NCPU; i++) {
steal = schedule_[i].steal(nonexec);
if (steal != nullptr) {
acquire(&steal->lock);
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论