Commit 0d2b7ea9 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by 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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment