From 49b6d442c01cd8a3c8e9c973b09a300384d445e6 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 12 Jul 2024 13:10:58 +0000 Subject: [PATCH] manual ret-clean; ok mlarkin --- sys/arch/amd64/amd64/mptramp.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/amd64/amd64/mptramp.S b/sys/arch/amd64/amd64/mptramp.S index 082f1d4a798..96247c8e890 100644 --- a/sys/arch/amd64/amd64/mptramp.S +++ b/sys/arch/amd64/amd64/mptramp.S @@ -1,4 +1,4 @@ -/* $OpenBSD: mptramp.S,v 1.22 2022/12/01 00:26:15 guenther Exp $ */ +/* $OpenBSD: mptramp.S,v 1.23 2024/07/12 13:10:58 deraadt Exp $ */ /* $NetBSD: mptramp.S,v 1.1 2003/04/26 18:39:30 fvdl Exp $ */ /*- @@ -233,6 +233,7 @@ GENTRY(cpu_spinup_finish) movl $CR0_DEFAULT,%eax movq %rax,%cr0 call cpu_hatch + movq $0,-8(%rsp) END(cpu_spinup_finish) /* NOTREACHED */ -- 2.20.1