From nobody Mon Dec 16 19:18:20 2024 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 4YBqV50gQmz5fsPW; Mon, 16 Dec 2024 19:18:21 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YBqV470d8z4jRV; Mon, 16 Dec 2024 19:18:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734376701; 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=TBMhX84K62MeCoaFmgsEr1DYHE+QPK0nlaPTkBA5wAM=; b=LJ8s/cNfRs0KmFcioMaDUQh7N9nzCMKjk3pUcwY2VgOKuTJ+7H+8F+71zVGJ4btnCXAUXf nK+3XWM1cZkXxSfLapqd1V3vuR8UTrp+pLx2LF5YFDi9/cO35ks9cVFtA34BEbXqLF38Pt B+ejvaWq4JtiFb6lMjK4N+U1d3ahoZ6ScV3t8pn3YQv8zoyjCgkfAP1Tc+RvaQaO/q+lLB X6XegU6ek91ZrTzWiXwiEvW/j/ymaTnduCZ0sFTKuqJdwJfnupRRKSZHwDfFBUeIgP5PQF TRo+29NB7UTOI27O7LivVGqWyGTESMa3lXQGIdmbwMIeo4b6wXLUfnLh9F4tLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734376701; 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=TBMhX84K62MeCoaFmgsEr1DYHE+QPK0nlaPTkBA5wAM=; b=IZkKOc3puwgSQOsu1L3iiAX7BeTWnW6228u5fZ927+ieu14Szi9co91jPJ+cwPGABXnCgP bMJQ+aqNVVwQcr+BrlYoSdqO8dgVaYsX/gFu27IWduyFFO2qP2/uZqlMiw2BvU6Qa27OQR TFskKf985HOLvwQiHbxH8BhWUUmXA8FBgxx2hKGQ8w6lTLI7V/e5Tr/tfV+ow3JXv6eAMc GsFxEG8yk6hh88vmdwSFNNQGn7l+CViBIJ3bV+1W7hgNj0PqVuXSN10WXg39p5x8353U4s aeF5ZmTZ8ha/vGEObyCEbhPJPGjyKkIoJiqFIATOb1UoXnufLLBIEEjnwjXqkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734376701; a=rsa-sha256; cv=none; b=gv+LGB9/BIN9j+XVqiE+HP9vTI34NrPCwyapqfn5YalJ3MdsUTBTucU8g0yt/+UuA64fq0 Kmhh74SoylUsP80v4YTehhnu4ltlIvJ6qUfZ19w54v+P+lPfrp2GiDcVRPHQOmf+YkMP1h LLQmqQe/PX2URAog/P+EwkmTQb9DlP61VzXOAgHYcBmxLpAA6wxguHuZwUUO7mBQt7EPez jpMvA6tcAMRh1QJHDRvBDMP/CgAGvjmYMMVDzM1qkiOScRW3xfRbi1PpjnVFy+9e5MU5t5 IQEPrVs4B6dRtaiDdcP2tunP8fivhzPo+GMhzCrnOqUpRruhvRjyIaHKuO+/rw== 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 4YBqV46c3Pz15Ps; Mon, 16 Dec 2024 19:18:20 +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 4BGJIKx6059548; Mon, 16 Dec 2024 19:18:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BGJIKwF059545; Mon, 16 Dec 2024 19:18:20 GMT (envelope-from git) Date: Mon, 16 Dec 2024 19:18:20 GMT Message-Id: <202412161918.4BGJIKwF059545@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Olivier Certner Subject: git: a9722e5ae851 - main - 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/main X-Git-Reftype: branch X-Git-Commit: a9722e5ae8519a9a28e950dbd8d489178e9bc27e Auto-Submitted: auto-generated The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=a9722e5ae8519a9a28e950dbd8d489178e9bc27e commit a9722e5ae8519a9a28e950dbd8d489178e9bc27e Author: Olivier Certner AuthorDate: 2024-12-16 19:12:14 +0000 Commit: Olivier Certner CommitDate: 2024-12-16 19:15:25 +0000 atomics: Constify loads: Fix powerpc build Fixes: 5e9a82e898d5 ("atomics: Constify loads") Sponsored by: The FreeBSD Foundation --- 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 c8b0ed2bb38b..d9c5278334d5 100644 --- a/sys/kern/subr_atomic64.c +++ b/sys/kern/subr_atomic64.c @@ -77,7 +77,7 @@ static struct mtx a64_mtx_pool[A64_POOL_SIZE]; #define ATOMIC64_EMU_UN(op, rt, block, ret) \ rt \ - atomic_##op##_64(volatile uint64_t *p) { \ + atomic_##op##_64(const volatile uint64_t *p) { \ uint64_t tmp __unused; \ LOCK_A64(); \ block; \