未验证 提交 5f76b7e8 编写于 作者: 0 0xAX 提交者: GitHub

Merge pull request #789 from junbo42/linux-timers-3-fix

cpu_idle_loop logical in book is wrong
......@@ -51,16 +51,17 @@ static void cpu_idle_loop(void)
{
while (1) {
while (!need_resched()) {
...
...
...
/* the main idle function */
cpuidle_idle_call();
}
...
...
...
/* the main idle function */
cpuidle_idle_call();
schedule_preempt_disabled();
}
...
...
...
schedule_preempt_disabled();
}
```
......
......@@ -134,5 +134,6 @@ Thank you to all contributors:
* [Yuxin Wu](https://github.com/chaffz)
* [Biao Ding](https://github.com/SmallPond)
* [Arfy slowy](https://github.com/slowy07)
* [Junbo Jiang](https://github.com/junbo42)
* [Dexter Plameras](https://github.com/dexterp)
* [Jun Duan](https://github.com/waltforme)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册