summaryrefslogtreecommitdiff
path: root/core/riscv-rv32i/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/riscv-rv32i/atomic.h')
-rw-r--r--core/riscv-rv32i/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/riscv-rv32i/atomic.h b/core/riscv-rv32i/atomic.h
index a9e4df0344..db21e2a70d 100644
--- a/core/riscv-rv32i/atomic.h
+++ b/core/riscv-rv32i/atomic.h
@@ -28,8 +28,8 @@
* removed in the following patches. Please see b:169151160 for more details.
*/
-static inline void deprecated_atomic_clear(volatile uint32_t *addr,
- uint32_t bits)
+static inline void deprecated_atomic_clear_bits(volatile uint32_t *addr,
+ uint32_t bits)
{
ATOMIC_OP(and, ~bits, addr);
}