From: deraadt Date: Fri, 12 Jul 2024 13:10:58 +0000 (+0000) Subject: manual ret-clean; ok mlarkin X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=49b6d442c01cd8a3c8e9c973b09a300384d445e6;p=openbsd manual ret-clean; ok mlarkin --- 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 */