Date: Fri, 17 Jan 2025 12:27:26 GMT From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 1cf5ab87c87e - stable/13 - atomics: Constify loads: Fix powerpc build Message-ID: <202501171227.50HCRQEE053018@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=1cf5ab87c87ed72ee572971f33b68e5ddd595433 commit 1cf5ab87c87ed72ee572971f33b68e5ddd595433 Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2024-12-16 19:12:14 +0000 Commit: Olivier Certner <olce@FreeBSD.org> 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; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501171227.50HCRQEE053018>