| commit | 9dbe00a56a60748668d2040cf4e59427060e2252 | [log] [tgz] |
|---|---|---|
| author | Paul Mundt <lethal@linux-sh.org> | Fri Oct 16 17:55:59 2009 +0900 |
| committer | Paul Mundt <lethal@linux-sh.org> | Fri Oct 16 17:55:59 2009 +0900 |
| tree | 9115c8b0f34ccff283b5b72f4d4a5678b0725642 | |
| parent | 0e6d4986e7940125a04ba8c3aa558f3b248cb9b4 [diff] |
sh: Fix up IRQ re-enabling for the need_resched() case. 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>