The branch stable/13 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=ced9fa71eaf95a27d5672c3419d7d9ca6c189168
commit ced9fa71eaf95a27d5672c3419d7d9ca6c189168 Author: Olivier Certner <o...@freebsd.org> AuthorDate: 2025-01-20 12:53:13 +0000 Commit: Olivier Certner <o...@freebsd.org> CommitDate: 2025-01-27 18:17:16 +0000 atomics: Constify loads: riscv: Convert missed atomic_load_acq_64() Reviewed by: kib Fixes: 5e9a82e898d5 ("atomics: Constify loads") MFC after: 4 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48497 (cherry picked from commit 5bd31ad86adb5255e40e7d8ecfddd9e49c7004af) --- sys/riscv/include/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/riscv/include/atomic.h b/sys/riscv/include/atomic.h index 32ceb9a6341d..d304f1d5e5a3 100644 --- a/sys/riscv/include/atomic.h +++ b/sys/riscv/include/atomic.h @@ -494,7 +494,7 @@ ATOMIC_CMPSET_ACQ_REL(64); ATOMIC_FCMPSET_ACQ_REL(64); static __inline uint64_t -atomic_load_acq_64(volatile uint64_t *p) +atomic_load_acq_64(const volatile uint64_t *p) { uint64_t ret;