diff options
author | peter <peter@FreeBSD.org> | 2004-06-04 17:03:18 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-06-04 17:03:18 +0000 |
commit | 8ee2960c6bfe8e5121e6abaabf83dd38d2cbf4b7 (patch) | |
tree | 70a992110b316c38adb0d55a91bcd8fff7fc3ac6 /sys/dev/acpica | |
parent | d86152c1d92bb9e252ab6df1ab3ccaa534bbeead (diff) | |
download | FreeBSD-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.c | 2 |
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); |