mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
atomics: Constify loads: Fix powerpc build
Fixes: 5e9a82e898 ("atomics: Constify loads")
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
487788a69f
commit
a9722e5ae8
1 changed files with 1 additions and 1 deletions
|
|
@ -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; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue