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 C11 atomic sup...



details:   https://anonhg.NetBSD.org/src/rev/b5e00fad9d30
branches:  trunk
changeset: 333054:b5e00fad9d30
user:      dennis <dennis%NetBSD.org@localhost>
date:      Thu Oct 16 18:52:17 2014 +0000

description:
Add missing C11 atomic support functions to repair prior
build breakage.  matt@ made me do this.

diffstat:

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

diffs (20 lines):

diff -r 8e1487864974 -r b5e00fad9d30 common/lib/libc/arch/riscv/atomic/Makefile.inc
--- a/common/lib/libc/arch/riscv/atomic/Makefile.inc    Thu Oct 16 17:53:32 2014 +0000
+++ b/common/lib/libc/arch/riscv/atomic/Makefile.inc    Thu Oct 16 18:52:17 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.1 2014/09/19 17:36:24 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2014/10/16 18:52:17 dennis Exp $
 
 .for op in add and cas nand or sub swap xor
 sizes=32
@@ -21,7 +21,9 @@
 
 .if defined(LIB) && (${LIB} != "kern" && ${LIB} != "rump")
 
-SRCS.atomic+=  atomic_init_cas.c
+SRCS.atomic+=  atomic_init_cas.c                       \
+               atomic_c11_compare_exchange_cas_16.c    \
+               atomic_c11_compare_exchange_cas_8.c
 
 .endif #LIB
 



Home | Main Index | Thread Index | Old Index