Source-Changes-HG archive

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

[src/trunk]: src/external/mpl/bind/dist/lib/isc no yield for early arm



details:   https://anonhg.NetBSD.org/src/rev/93e4a0a4118a
branches:  trunk
changeset: 447426:93e4a0a4118a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 10 18:09:45 2019 +0000

description:
no yield for early arm

diffstat:

 external/mpl/bind/dist/lib/isc/rwlock.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4f00d5702bfd -r 93e4a0a4118a external/mpl/bind/dist/lib/isc/rwlock.c
--- a/external/mpl/bind/dist/lib/isc/rwlock.c   Thu Jan 10 17:41:47 2019 +0000
+++ b/external/mpl/bind/dist/lib/isc/rwlock.c   Thu Jan 10 18:09:45 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rwlock.c,v 1.3 2019/01/09 16:55:14 christos Exp $      */
+/*     $NetBSD: rwlock.c,v 1.4 2019/01/10 18:09:45 christos Exp $      */
 
 /*
  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -56,7 +56,7 @@
 # define isc_rwlock_pause() __asm__ __volatile__ ("rep; nop")
 #elif defined(__ia64__)
 # define isc_rwlock_pause() __asm__ __volatile__ ("hint @pause")
-#elif defined(__arm__)
+#elif defined(__arm__) && defined(_ARM_ARCH_6)
 # define isc_rwlock_pause() __asm__ __volatile__ ("yield")
 #elif defined(__sparc) || defined(__sparc__)
 # define isc_rwlock_pause() __asm__ __volatile__ ("pause")



Home | Main Index | Thread Index | Old Index