summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-02-13 15:56:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-02-13 15:56:56 +0000
commite8e4cb369525920d93e6efb8f467ef24e474d165 (patch)
tree389f97c60577578c218854a68d6967fdce62042a /sys/arch/amd64
parentbc1c9feb431ab3d9824bd24c759278b556f473c5 (diff)
Move some MI pieces out of suspend_mp/resume_mp
ok kettenis
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index e1c02476114..e119de143f1 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.99 2022/02/12 16:25:42 deraadt Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.100 2022/02/13 15:56:55 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -499,9 +499,6 @@ sleep_mp(void)
{
int i;
- sched_stop_secondary_cpus();
- KASSERT(CPU_IS_PRIMARY(curcpu()));
-
/*
* Wait for cpus to halt so we know their FPU state has been
* saved and their caches have been written back.
@@ -557,9 +554,7 @@ resume_mp(void)
ci->ci_flags &= ~CPUF_PRESENT;
cpu_start_secondary(ci);
}
-
cpu_boot_secondary_processors();
- sched_start_secondary_cpus();
}
#endif /* MULTIPROCESSOR */