diff options
| author | rin <rin@NetBSD.org> | 2019-02-20 05:25:12 +0000 |
|---|---|---|
| committer | rin <rin@NetBSD.org> | 2019-02-20 05:25:12 +0000 |
| commit | 6a628fbc1ae7de171ec884fc14db15cdd2eac9be (patch) | |
| tree | be07b3311070d0942519b060264f093e6f8b5221 /common | |
| parent | bbcd7c0b30fde6a723dbf2f89949ccb93cd07a21 (diff) | |
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 (limited to 'common')
| -rw-r--r-- | common/lib/libc/arch/mips/atomic/atomic_cas.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/lib/libc/arch/mips/atomic/atomic_cas.S b/common/lib/libc/arch/mips/atomic/atomic_cas.S index 2c8977c700f..5afcae13e48 100644 --- a/common/lib/libc/arch/mips/atomic/atomic_cas.S +++ b/common/lib/libc/arch/mips/atomic/atomic_cas.S @@ -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) |
