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/m68k/atomic invert tests ${MACHINE} != ...



details:   https://anonhg.NetBSD.org/src/rev/23cc05706f0c
branches:  trunk
changeset: 788720:23cc05706f0c
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 18 19:49:00 2013 +0000

description:
invert tests ${MACHINE} != "m68000" -> ${MACHINE} == "m68k"

diffstat:

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

diffs (27 lines):

diff -r 1b4434182162 -r 23cc05706f0c common/lib/libc/arch/m68k/atomic/Makefile.inc
--- a/common/lib/libc/arch/m68k/atomic/Makefile.inc     Thu Jul 18 19:39:49 2013 +0000
+++ b/common/lib/libc/arch/m68k/atomic/Makefile.inc     Thu Jul 18 19:49:00 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.9 2009/01/04 17:54:29 pooka Exp $
+#      $NetBSD: Makefile.inc,v 1.10 2013/07/18 19:49:00 matt Exp $
 
 #
 # Note: The atomic operations here in these assembly files are atomic
@@ -11,7 +11,7 @@
 
 .if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
        || ${LIB} == "rump")
-.if ${MACHINE_ARCH} != "m68000"
+.if ${MACHINE_ARCH} == "m68k"
 
 SRCS+= atomic_add.S atomic_and.S atomic_cas.S atomic_dec.S \
        atomic_inc.S atomic_or.S atomic_swap.S membar_ops_nop.c
@@ -27,7 +27,7 @@
 .endif
 
 .if defined(LIB) && (${LIB} == "c" || ${LIB} == "pthread")
-.if ${MACHINE_ARCH} != "m68000"
+.if ${MACHINE_ARCH} == "m68k"
 
 SRCS+= atomic_init_cas.c
 



Home | Main Index | Thread Index | Old Index