ACPI: don't cond_resched() when irqs_disabled()
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 26 Nov 2008 06:35:22 +0000 (14:35 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 19 Dec 2008 09:38:33 +0000 (04:38 -0500)
commitabe1dfab60e1839d115930286cb421f5a5b193f3
treee47757bf2fcd10086b64c623220138478a73e9db
parente76f42761197dd6e9405e2eeb35932acfede115a
ACPI: don't cond_resched() when irqs_disabled()

The ACPI interpreter usually runs with irqs enabled.
However, during suspend/resume it runs with
irqs disabled to evaluate _GTS/_BFS, as well as
by irqrouter_resume() which evaluates _CRS, _PRS, _SRS.

http://bugzilla.kernel.org/show_bug.cgi?id=12252

Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/platform/aclinux.h