* [PATCH] x86: Use safe_halt() instead of halt() in acpi_idle_play_dead()
@ 2012-04-02 18:56 Boris Ostrovsky
0 siblings, 0 replies; only message in thread
From: Boris Ostrovsky @ 2012-04-02 18:56 UTC (permalink / raw)
To: x86, len.brown, tony.luck, konrad.wilk
Cc: linux-acpi, linux-pm, linux-kernel, Boris Ostrovsky
Using halt() in acpi_idle_play_dead() breaks ia64 build. Use safe_halt()
instead.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
---
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() */
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-02 18:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 18:56 [PATCH] x86: Use safe_halt() instead of halt() in acpi_idle_play_dead() Boris Ostrovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox