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/mips/atomic Export atomic_cas_32_ni in ...



details:   https://anonhg.NetBSD.org/src/rev/e861a5c93fc8
branches:  trunk
changeset: 839438:e861a5c93fc8
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Feb 20 05:25:12 2019 +0000

description:
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.

diffstat:

 common/lib/libc/arch/mips/atomic/atomic_cas.S |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b38df9808006 -r e861a5c93fc8 common/lib/libc/arch/mips/atomic/atomic_cas.S
--- a/common/lib/libc/arch/mips/atomic/atomic_cas.S     Wed Feb 20 05:20:05 2019 +0000
+++ b/common/lib/libc/arch/mips/atomic/atomic_cas.S     Wed Feb 20 05:25:12 2019 +0000
@@ -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 @@
         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)



Home | Main Index | Thread Index | Old Index