summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-06-07 04:46:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-06-07 04:46:10 +0000
commitb09263fd5303ce046adbfdc0249dddbbe4f576ab (patch)
tree5ddeb8e68ff932e0e18ceaeb6dd7f54384e90fc2
parent060566a1f27a62a39145a693a41ef7a649f6cc7b (diff)
upon resume, fpureset() was being called prematurely (before cpu_init,
which does not matter today, but will matter a lot in near future). But actually it isn't needed at all, cpu_init() does it again. So remove the call. ok guenther
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index 23ca827907b..6980217ba01 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.107 2023/04/24 09:04:03 dv Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.108 2023/06/07 04:46:09 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -436,7 +436,6 @@ acpi_sleep_cpu(struct acpi_softc *sc, int state)
/* Resume path */
if (curcpu()->ci_feature_sefflags_edx & SEFF0EDX_IBT)
lcr4(rcr4() | CR4_CET);
- fpureset();
/* Reset the vectors */
sc->sc_facs->wakeup_vector = 0;