提交 0d2b7ea9 编写于 作者: G Geert Uytterhoeven 提交者: Linus Torvalds

powerpc: update comments for generic idle conversion

As of commit 799fef06 ("powerpc: Use generic idle loop"), this
applies to arch_cpu_idle() instead of cpu_idle().
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 835eeeed
...@@ -304,7 +304,7 @@ void notrace restore_interrupts(void) ...@@ -304,7 +304,7 @@ void notrace restore_interrupts(void)
* being re-enabled and generally sanitized the lazy irq state, * being re-enabled and generally sanitized the lazy irq state,
* and in the latter case it will leave with interrupts hard * and in the latter case it will leave with interrupts hard
* disabled and marked as such, so the local_irq_enable() call * disabled and marked as such, so the local_irq_enable() call
* in cpu_idle() will properly re-enable everything. * in arch_cpu_idle() will properly re-enable everything.
*/ */
bool prep_irq_for_idle(void) bool prep_irq_for_idle(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册