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 atomic_and_16_...



details:   https://anonhg.NetBSD.org/src/rev/ceed6755e960
branches:  trunk
changeset: 450537:ceed6755e960
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Apr 17 07:40:34 2019 +0000

description:
add missing atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c.

diffstat:

 common/lib/libc/arch/riscv/atomic/Makefile.inc |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r b2b6cbe82f6c -r ceed6755e960 common/lib/libc/arch/riscv/atomic/Makefile.inc
--- a/common/lib/libc/arch/riscv/atomic/Makefile.inc    Wed Apr 17 07:35:38 2019 +0000
+++ b/common/lib/libc/arch/riscv/atomic/Makefile.inc    Wed Apr 17 07:40:34 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.2 2014/10/16 18:52:17 dennis Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2019/04/17 07:40:34 mrg Exp $
 
 .for op in add and cas nand or sub swap xor
 sizes=32
@@ -27,4 +27,8 @@
 
 .endif #LIB
 
+.if ${LIB} == "c"
+SRCS.atomic+=  atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c
+.endif
+
 SRCS+= ${SRCS.atomic}



Home | Main Index | Thread Index | Old Index