summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-06-04 17:03:18 +0000
committerpeter <peter@FreeBSD.org>2004-06-04 17:03:18 +0000
commit8ee2960c6bfe8e5121e6abaabf83dd38d2cbf4b7 (patch)
tree70a992110b316c38adb0d55a91bcd8fff7fc3ac6 /sys/dev/acpica
parentd86152c1d92bb9e252ab6df1ab3ccaa534bbeead (diff)
downloadFreeBSD-src-8ee2960c6bfe8e5121e6abaabf83dd38d2cbf4b7.zip
FreeBSD-src-8ee2960c6bfe8e5121e6abaabf83dd38d2cbf4b7.tar.gz
Work around the preemption problem in acpi_cpu.c for shutting down.
Submitted by: nate / jhb
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_cpu.c b/sys/dev/acpica/acpi_cpu.c
index 7977c7b..f19b813 100644
--- a/sys/dev/acpica/acpi_cpu.c
+++ b/sys/dev/acpica/acpi_cpu.c
@@ -377,7 +377,9 @@ acpi_cpu_shutdown(device_t dev)
/* Wait for all processors to exit acpi_cpu_idle(). */
smp_rendezvous(NULL, NULL, NULL, NULL);
+#if 0
while (cpu_idle_busy > 0)
+#endif
DELAY(1);
return_VALUE (0);
OpenPOWER on IntegriCloud