Module Name: src Committed By: rin Date: Wed Feb 20 05:25:12 UTC 2019
Modified Files: src/common/lib/libc/arch/mips/atomic: atomic_cas.S Log Message: Export atomic_cas_32_ni in a similar manner to its 64-bit counterpart. Compile test only, but seems trivial enough for me. Fix build error due to test/lib/libc/atomic/t_atomic_cas. Note that mips32 does not use atomic_cas.S. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/common/lib/libc/arch/mips/atomic/atomic_cas.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libc/arch/mips/atomic/atomic_cas.S diff -u src/common/lib/libc/arch/mips/atomic/atomic_cas.S:1.5 src/common/lib/libc/arch/mips/atomic/atomic_cas.S:1.6 --- src/common/lib/libc/arch/mips/atomic/atomic_cas.S:1.5 Tue Feb 19 18:17:45 2019 +++ src/common/lib/libc/arch/mips/atomic/atomic_cas.S Wed Feb 20 05:25:12 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: atomic_cas.S,v 1.5 2019/02/19 18:17:45 martin Exp $ */ +/* $NetBSD: atomic_cas.S,v 1.6 2019/02/20 05:25:12 rin Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ #include <machine/asm.h> #include "atomic_op_asm.h" -RCSID("$NetBSD: atomic_cas.S,v 1.5 2019/02/19 18:17:45 martin Exp $") +RCSID("$NetBSD: atomic_cas.S,v 1.6 2019/02/20 05:25:12 rin Exp $") .text .set noat @@ -54,6 +54,7 @@ LEAF(_atomic_cas_32) nop END(_atomic_cas_32) ATOMIC_OP_ALIAS(atomic_cas_32, _atomic_cas_32) +ATOMIC_OP_ALIAS(atomic_cas_32_ni, _atomic_cas_32) #if !defined(__mips_o32) LEAF(_atomic_cas_64)