summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorvenkatesh.pallipadi@intel.com <venkatesh.pallipadi@intel.com>2008-02-01 02:35:03 +0100
committerLen Brown <len.brown@intel.com>2008-02-07 08:11:14 +0100
commit2e906655baf1c6f6fccd212fc9e6499dc6928b80 (patch)
treec9d3d71db721f725e6333228efaba4443e878e70 /include/acpi
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eri... (diff)
downloadlinux-2e906655baf1c6f6fccd212fc9e6499dc6928b80.tar.xz
linux-2e906655baf1c6f6fccd212fc9e6499dc6928b80.zip
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 <venkatesh.pallipadi@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions