Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern Use the new FEAT_LDREX to replace ...



details:   https://anonhg.NetBSD.org/src/rev/af078ab1b38b
branches:  trunk
changeset: 327167:af078ab1b38b
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 14:19:25 2014 +0000

description:
Use the new FEAT_LDREX to replace ARMV6/ARMV7

diffstat:

 sys/rump/librump/rumpkern/Makefile.rumpkern |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9ccc3c5a20ea -r af078ab1b38b sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern       Fri Feb 28 13:55:36 2014 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern       Fri Feb 28 14:19:25 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rumpkern,v 1.137 2014/02/18 06:18:13 pooka Exp $
+#      $NetBSD: Makefile.rumpkern,v 1.138 2014/02/28 14:19:25 matt Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -220,7 +220,7 @@
 # compare-and-swap.  This is because the kernel version is using
 # instructions or routines unavailable to us in userspace.
 #
-.if (${MACHINE_CPU} == "arm" && empty(ARMV6) && empty(ARMV7)) \
+.if (${MACHINE_CPU} == "arm" && "${FEAT_LDREX}" != "yes") \
     || ${MACHINE_ARCH} == "coldfire" || ${MACHINE_CPU} == "hppa" \
     || ${MACHINE_CPU} == "mips" || ${MACHINE_CPU} == "sh3" \
     || ${MACHINE_ARCH} == "vax" || ${MACHINE_ARCH} == "m68000"



Home | Main Index | Thread Index | Old Index