From: venkatesh.pallipadi@intel.com Date: Fri, 1 Feb 2008 01:35:03 +0000 (-0800) Subject: ACPI: idle: Fix acpi_safe_halt usages and interrupt enabling/disabling X-Git-Tag: v2.6.25-rc1~297^2~3^2~2^2~1^2~6^3~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e906655baf1c6f6fccd212fc9e6499dc6928b80;p=pandora-kernel.git ACPI: idle: Fix acpi_safe_halt usages and interrupt enabling/disabling acpi_safe_halt() needs interrupts to be disabled for atomic need_resched check and safe halt. Otherwise we may miss an interrupt and go into halt. acpi_safe_halt() also does not enable interrupts on all return paths. So the callers should handle enable and disable interrupts around it. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown --- Reading git-diff-tree failed