From nobody Tue Jan 24 08:54:10 2023 X-Original-To: dev-commits-src-all@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 4P1LPH2yCbz30xGs; Tue, 24 Jan 2023 08:54:11 +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 4P1LPH0k6Wz3RFx; Tue, 24 Jan 2023 08:54:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674550451; 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=acwRyR2ofwAFceGPIRfiBydGNc8UT4SnIcALPSsdcls=; b=H4DFmJ6eMRHCUqn1+Db00QAl5623a2Y7XGkottaye9Ll88Xkj/5YOK5AhIyZLNL5p6mFrJ G3li5SUB+QJ3kVIFEQi2tnxY+qwh29XvqwSCnTnIU6nndUwWV9kbT5C1J1wDejGEX2rRDa vv3FV1182ouWbhdHqA+0MlMCBmCNIn+HTVD6M4V/i05pQOJGrGWjwpN0XjK2EZE7Z0Pj35 jjVh+8VauF+/Fp+K4hf5PEIGKyZV+5udfpk5ZDDXE6hsa1rQVzMPGIcIlmInqiDw6rA8EU pDnau0f19VVl6vS0Di0SP4Cio9WKWi2r6pDPJqtMS3tZSYxtXPEpgnVTPGczrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674550451; 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=acwRyR2ofwAFceGPIRfiBydGNc8UT4SnIcALPSsdcls=; b=xFmiH6jJ08jdSqSlKhAS1PHSoD1XnOlmTW7nApqJn8V/icnWINcLgLGamIX32jiQC+tRSW XWt7RNzLXiniHL8x/4kmZbH4K1yX+8ngSslaz1CYqo974kwbJuKBDBbaV5o8A3ZItYgCr7 +s5FXZ4Q6U3GFUFPtR1GIibMoi6f1OjjX2HpC0eLkoByKKp4UU89d7F8I0Dvfe3jipoY1v 0+8G1uCi0td9P4EGJtVHEK3fUImtbAS8peLnCRhVVREY0Ai3N3y6OWhvLBl94fMeBfuXeg Fl/b7tIwfKVms4WM4i0A7l3dATGnTdhbw2opFVkSGvHUyi7B4m9RUMTU3XiHcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674550451; a=rsa-sha256; cv=none; b=pRU9FiO30kIuue067CJJDlyFL7NZWJ45Kzoj/8oINdk1g5lQz3WOg64Ahc1IdWsDRuHswx Qjd9gm2UTxsy1Isw7KGnxju5qMH3X61hvUY1qu6Ae3Ty8vpaSOD4Gk2avdSpXB5srpSHKR q2tAh6MGNjjY56UlowL3rXRHH81KMA00LQvevFDJ775VetJe9ZucUROoO1ZKH/QL9iGtjJ cJlttHxYeBlRcpnAmeT2oHUqqIlCp2/wck5+skughweeFL2W/cRzbb7RMawynO/cygqjSc bYENwG8+CVD7kkuxE3g8siI1b6kUv6ff8+UX5QIIFUV2U72PG5bqyCbt61duaQ== 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 4P1LPG6x2Nz13YY; Tue, 24 Jan 2023 08:54:10 +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 30O8sA0V036156; Tue, 24 Jan 2023 08:54:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30O8sAW6036155; Tue, 24 Jan 2023 08:54:10 GMT (envelope-from git) Date: Tue, 24 Jan 2023 08:54:10 GMT Message-Id: <202301240854.30O8sAW6036155@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: e279c1fcfafb - stable/13 - linuxkpi: Add `cmpxchg64()` in List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e279c1fcfafb4e6621118db48df9ba2b32faef03 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=e279c1fcfafb4e6621118db48df9ba2b32faef03 commit e279c1fcfafb4e6621118db48df9ba2b32faef03 Author: Jean-Sébastien Pédron AuthorDate: 2022-12-01 13:59:16 +0000 Commit: Emmanuel Vadot CommitDate: 2023-01-24 09:08:01 +0000 linuxkpi: Add `cmpxchg64()` in Differential Revision: https://reviews.freebsd.org/D36966 (cherry picked from commit e79a57d4ecb73b7e779260b80f7b747eb29ce4d2) --- sys/compat/linuxkpi/common/include/asm/atomic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/asm/atomic.h b/sys/compat/linuxkpi/common/include/asm/atomic.h index d7e5338c0356..67f7d3858e24 100644 --- a/sys/compat/linuxkpi/common/include/asm/atomic.h +++ b/sys/compat/linuxkpi/common/include/asm/atomic.h @@ -220,6 +220,7 @@ atomic_cmpxchg(atomic_t *v, int old, int new) __ret.val; \ }) +#define cmpxchg64(...) cmpxchg(__VA_ARGS__) #define cmpxchg_relaxed(...) cmpxchg(__VA_ARGS__) #define xchg(ptr, new) ({ \