From nobody Fri Jan 17 12:27:26 2025 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 4YZJsC1x9xz5kvZq; Fri, 17 Jan 2025 12:27:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZJsB2jS1z3V4w; Fri, 17 Jan 2025 12:27:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737116846; 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=bM+XfycRY2R7tYnEN0ieKTMwtu/bIKtO9jg13qT9dY0=; b=gqZkMKs/6d6+tcP4qKCFq57hztJ1JHg2OFZrND/P0/GnhyFVITZHwaSASpiEksUzQy8Qn8 yhCq3afRel7JEwARUyRybUprU93kjr8sXQte4X9b159iNq69WOk1lGXjwW/JilRR7XOocC 2FUQOzZSrg0Ocz6GckZGtV2XYbIOk5gVJAvEctYKTsdkVu9DNhuXHc376teIqB53zOSSFd z7fted/EZg0xBCedixcyV6mLgVCNfSntiKQEzI9QFaRSakHL7YlT5rNuBT6TwYHJ0heGE0 qOmIJwnaojZtLbfKqsBm+jmFOarI/Yc3lnHkXrnTIgoUDSvRHjQQi8X2IzrquQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737116846; 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=bM+XfycRY2R7tYnEN0ieKTMwtu/bIKtO9jg13qT9dY0=; b=tKpGZpD5Y86caQo96va8tjXgye4JO+ogkRK7KcDvciY4x/riX0iBfTUQVbfRPmrPB1q2aW t9bKojDV4q4Ppp8CKm7QMA89fXKkcLFdEScMgB0fB/HLAt9Loqi83d7js7p37cC574RfWC 7185o0f4eF6HJicMD+fUJDEegKtWsJ5SHVH0OkbPyy+p11IcB46Sjcqj1zGiBDr7W3o2YX ibpE2rn1yOxs60/LCHekjGQVSKDSsYjuKDzFXOJZIxqGjz7rKjpMbQ++5gQ0iHsbuaufvX QaU4UiOMXY3T8COJcPnQHIdnzEGJ4DOASq2In0jo+89eboGOr3M/4BTx8AV5fg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737116846; a=rsa-sha256; cv=none; b=EswvNoiNwPWihMhJPloGFnevh8/WG23nWrj9uJ4tx0ddFN7DrcJergBRwNaUJq49wGfZsB VDJNPnlXWgM0exF6IuuhElzdLkDkrIy/eDzxH4eWIDTR4HJ0sWHESPoKkmcM7LgHph4mhI qYLC12jUJ2XkBFj1iu4uPJZagdD95sM8H2JHxQc+y9/NxwtMAJpnH+YJk6cdcL9gt4AwVP acwIGHQK6+WtBco6An7loRV8qVvfHgD1SDGPMRbbpZhTkRPXIGBRBF3uCY4lSHhiMIwPBk A3CG7BJxcAyzluvxoHG3/GEiss3ckS8QeICMud448as5OwdXe6SpbpEOybpwOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YZJsB2H1Wz2rf; Fri, 17 Jan 2025 12:27:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50HCRQvV053021; Fri, 17 Jan 2025 12:27:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50HCRQEE053018; Fri, 17 Jan 2025 12:27:26 GMT (envelope-from git) Date: Fri, 17 Jan 2025 12:27:26 GMT Message-Id: <202501171227.50HCRQEE053018@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Olivier Certner Subject: git: 1cf5ab87c87e - stable/13 - atomics: Constify loads: Fix powerpc build 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: olce X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 1cf5ab87c87ed72ee572971f33b68e5ddd595433 Auto-Submitted: auto-generated The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=1cf5ab87c87ed72ee572971f33b68e5ddd595433 commit 1cf5ab87c87ed72ee572971f33b68e5ddd595433 Author: Olivier Certner AuthorDate: 2024-12-16 19:12:14 +0000 Commit: Olivier Certner CommitDate: 2025-01-17 12:24:54 +0000 atomics: Constify loads: Fix powerpc build Fixes: 5e9a82e898d5 ("atomics: Constify loads") Sponsored by: The FreeBSD Foundation (cherry picked from commit a9722e5ae8519a9a28e950dbd8d489178e9bc27e) --- sys/kern/subr_atomic64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_atomic64.c b/sys/kern/subr_atomic64.c index 483be123ea28..b629b74c7653 100644 --- a/sys/kern/subr_atomic64.c +++ b/sys/kern/subr_atomic64.c @@ -78,7 +78,7 @@ static struct mtx a64_mtx_pool[A64_POOL_SIZE]; #define ATOMIC64_EMU_UN(op, rt, block, ret) \ rt \ - atomic_##op##_64(volatile u_int64_t *p) { \ + atomic_##op##_64(const volatile u_int64_t *p) { \ u_int64_t tmp __unused; \ LOCK_A64(); \ block; \