Work around the preemption problem in acpi_cpu.c for shutting down.

Submitted by:  nate / jhb
This commit is contained in:
Peter Wemm 2004-06-04 17:03:18 +00:00
parent 3e4482412b
commit f2b6954343
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130080

View file

@ -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);