Skip to content

Commit

Permalink
atomics: Constify loads: Fix powerpc build
Browse files Browse the repository at this point in the history
Fixes:          5e9a82e ("atomics: Constify loads")
Sponsored by:   The FreeBSD Foundation
  • Loading branch information
OlCe2 committed Dec 16, 2024
1 parent 487788a commit a9722e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/kern/subr_atomic64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit a9722e5

Please sign in to comment.