From: Paul Mundt Date: Fri, 16 Oct 2009 08:55:59 +0000 (+0900) Subject: sh: Fix up IRQ re-enabling for the need_resched() case. X-Git-Tag: v2.6.33-rc1~347^2~27^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dbe00a56a60748668d2040cf4e59427060e2252;p=pandora-kernel.git 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 --- Reading git-diff-tree failed