add missing aliases for _atomic_cas_32_ni and atomic_cas_uint_ni. trunk
authormrg <mrg@NetBSD.org>
Wed, 17 Apr 2019 07:35:38 +0000
branchtrunk
changeset 450536 b2b6cbe82f6c
parent 450535 747a397cbd10
child 450537 ceed6755e960
add missing aliases for _atomic_cas_32_ni and atomic_cas_uint_ni.
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)