diff options
author | Luck, Tony <tony.luck@intel.com> | 2012-04-03 16:37:28 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-04-05 17:41:44 (GMT) |
commit | 54f70077768e9aba37d9c5030b43497b6d5084fb (patch) | |
tree | efdb4d473df2d3d70c38b619e7ff77c9e8beea51 /drivers/acpi/processor_idle.c | |
parent | 1a022e3f1be11730bd8747b1af96a0274bf6356e (diff) | |
download | linux-54f70077768e9aba37d9c5030b43497b6d5084fb.tar.xz |
ACPI processor: Use safe_halt() rather than halt() in acpi_idle_play_dead()
ACPI code is shared by arch/x86 and arch/ia64. ia64 doesn't provide a plain
"halt()" function. Use safe_halt() instead.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 6b1d32a..784f9a7 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -786,7 +786,7 @@ static int acpi_idle_play_dead(struct cpuidle_device *dev, int index) while (1) { if (cx->entry_method == ACPI_CSTATE_HALT) - halt(); + safe_halt(); else if (cx->entry_method == ACPI_CSTATE_SYSTEMIO) { inb(cx->address); /* See comment in acpi_idle_do_entry() */ |