mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 22:04:40 +00:00
Work around the preemption problem in acpi_cpu.c for shutting down.
Submitted by: nate / jhb
This commit is contained in:
parent
3e4482412b
commit
f2b6954343
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130080
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue