sh: Fix up IRQ re-enabling for the need_resched() case.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 08:55:59 +0000 (17:55 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 08:55:59 +0000 (17:55 +0900)
In the case where need_resched() is set in between the cpu_idle() and
pm_idle() calls we were missing an else case for just re-enabling local
IRQs and bailing out. This was noticed by the irqs_disabled() warning,
even though IRQs were being re-enabled elsewhere.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found