git: ac2156c139f8 - main - atomics: Constify loads: riscv: Convert missed atomic_load_acq_64()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jan 2025 15:50:43 UTC
The branch main has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=ac2156c139f8f685b84a71a7f0f164d6cccc7656 commit ac2156c139f8f685b84a71a7f0f164d6cccc7656 Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2025-01-20 12:53:13 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2025-01-20 15:49:45 +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 --- 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 bf9c42453d8b..74ffc171b028 100644 --- a/sys/riscv/include/atomic.h +++ b/sys/riscv/include/atomic.h @@ -569,7 +569,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;