From nobody Sun Jan 02 19:08:07 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B9A68191F324; Sun, 2 Jan 2022 19:08:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JRpLJ1Gn7z4Xb6; Sun, 2 Jan 2022 19:08:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AFD8C17492; Sun, 2 Jan 2022 19:08:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 202J87V2057639; Sun, 2 Jan 2022 19:08:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 202J87EI057638; Sun, 2 Jan 2022 19:08:07 GMT (envelope-from git) Date: Sun, 2 Jan 2022 19:08:07 GMT Message-Id: <202201021908.202J87EI057638@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 7d71f459275b - stable/13 - amd64 get_mcontext(): third argument to get_fpcontext() is a pointer List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7d71f459275b28ebad0291b4412df8f769513b68 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641150488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0mCnZWQha1NSCpq2DqH1nUYiCmokyOhsIjlUVH83KTU=; b=oz6TudvdWZXTgZpfcN49q9BJOY9iFszk578YlGuaRn2EY8w7EHZR2ULDeZLK1kKBng/4zh tbT23Ttf93oevoE5vv9m+QWR772NztzrKmv/KwJaz3dQKw+wq2KzfJskmnI4qtOBZxdkPM jIaifmEW8t2OtlJMDxfLJs4u3vm+vxlidk1k5OV27oYVhTM0ewktbUCqbeAuRN1QQoyI6t gMIBcRDdLm1lrJbugLKX0rfa1Tf5rEwFYjvtqi7cxroRPUQQmcDpIl3xtkHRqlkmUiuQFJ hLIWOsR092ofa1IlljEUxCfHHh0ntpx8og/ozZ/XouCkNpcZUG1NeO9DQOs18A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641150488; a=rsa-sha256; cv=none; b=OGz6F77r5DV4I1C65H9SAC6/wrgaziZHxw5fXMMVztQhiAiuSOS89dE9d1Y62yI2DBD/2w NHwCvR6t2ytMZadQxoO/VxP/hPrTi5uXG5DFjcgpHmFxfEDvPNfqHXeB3YlGCvZfpnXVYV a7bwAVegqviYWwoxWZQLcrdgNSCYtKbRuewSa3gtg15HmAh5fo+jITPmLNm0bcyXAZnGRx 5U/hh0OohdnUv1MgaCcfVOk/4JS6DHBBieuvtf+ssawFldF+rz0IT1uNrYXQBeUCGDNnLI zFwrTNpIRhrCRUTxFB7cZ4aJFdAtdbMpDMlY0wqrM7zZKE/79xB0jLRXM2mZLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7d71f459275b28ebad0291b4412df8f769513b68 commit 7d71f459275b28ebad0291b4412df8f769513b68 Author: Konstantin Belousov AuthorDate: 2022-01-01 03:55:59 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-02 16:43:00 +0000 amd64 get_mcontext(): third argument to get_fpcontext() is a pointer (cherry picked from commit 76ef4f6348ccad73317ce2d10ab7a78d8591ba1a) --- sys/amd64/amd64/exec_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/amd64/amd64/exec_machdep.c b/sys/amd64/amd64/exec_machdep.c index 9a2b45015d92..a4255c348212 100644 --- a/sys/amd64/amd64/exec_machdep.c +++ b/sys/amd64/amd64/exec_machdep.c @@ -631,7 +631,7 @@ get_mcontext(struct thread *td, mcontext_t *mcp, int flags) mcp->mc_gs = tp->tf_gs; mcp->mc_flags = tp->tf_flags; mcp->mc_len = sizeof(*mcp); - get_fpcontext(td, mcp, NULL, 0); + get_fpcontext(td, mcp, NULL, NULL); update_pcb_bases(pcb); mcp->mc_fsbase = pcb->pcb_fsbase; mcp->mc_gsbase = pcb->pcb_gsbase;