Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/arch/riscv/atomic add missing aliases for _a...



details:   https://anonhg.NetBSD.org/src/rev/c436c8c66c84
branches:  trunk
changeset: 840774:c436c8c66c84
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Apr 17 07:35:38 2019 +0000

description:
add missing aliases for _atomic_cas_32_ni and atomic_cas_uint_ni.

diffstat:

 common/lib/libc/arch/riscv/atomic/atomic_cas_32.S |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 7e94e532c7bc -r c436c8c66c84 common/lib/libc/arch/riscv/atomic/atomic_cas_32.S
--- a/common/lib/libc/arch/riscv/atomic/atomic_cas_32.S Wed Apr 17 07:04:03 2019 +0000
+++ b/common/lib/libc/arch/riscv/atomic/atomic_cas_32.S Wed Apr 17 07:35:38 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atomic_cas_32.S,v 1.2 2015/03/27 06:42:37 matt Exp $   */
+/*     $NetBSD: atomic_cas_32.S,v 1.3 2019/04/17 07:35:38 mrg Exp $    */
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -43,6 +43,12 @@
 ATOMIC_OP_ALIAS(atomic_cas_32,_atomic_cas_32)
 ATOMIC_OP_ALIAS(atomic_cas_uint,_atomic_cas_32)
 STRONG_ALIAS(_atomic_cas_uint,_atomic_cas_32)
+
+ATOMIC_OP_ALIAS(atomic_cas_32_ni,_atomic_cas_32)
+STRONG_ALIAS(_atomic_cas_32_ni,_atomic_cas_32)
+ATOMIC_OP_ALIAS(atomic_cas_uint_ni,_atomic_cas_32)
+STRONG_ALIAS(_atomic_cas_uint_ni,_atomic_cas_32)
+
 #ifndef _LP64
 ATOMIC_OP_ALIAS(atomic_cas_ulong,_atomic_cas_32)
 STRONG_ALIAS(_atomic_cas_ulong,_atomic_cas_32)



Home | Main Index | Thread Index | Old Index