From 6a628fbc1ae7de171ec884fc14db15cdd2eac9be Mon Sep 17 00:00:00 2001 From: rin Date: Wed, 20 Feb 2019 05:25:12 +0000 Subject: 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. --- common/lib/libc/arch/mips/atomic/atomic_cas.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common') 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 #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) -- cgit