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/3d98a11e81a6
branches:  trunk
changeset: 998392:3d98a11e81a6
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 c8171943d3d8 -r 3d98a11e81a6 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