mips64: disable intercepting the spinlock function
This change disables intercepting pthread_spin_lock() for MIPS64, similar to
r13190 for MIPS32. Used in DRD and Helgrind as a workaround for the issue
#311690.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13417 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/configure.in b/configure.in
index c5f2692..232ddcb 100644
--- a/configure.in
+++ b/configure.in
@@ -2165,9 +2165,10 @@
AM_CONDITIONAL([HAVE_PTHREAD_SPINLOCK],
[test x$ac_cv_func_pthread_spin_lock = xyes])
-if test x$VGCONF_PLATFORM_PRI_CAPS = xMIPS32_LINUX ; then
+if test x$VGCONF_PLATFORM_PRI_CAPS = xMIPS32_LINUX \
+ -o x$VGCONF_PLATFORM_PRI_CAPS = xMIPS64_LINUX ; then
AC_DEFINE([DISABLE_PTHREAD_SPINLOCK_INTERCEPT], 1,
- [Disable intercept pthread_spin_lock() on MIPS32.])
+ [Disable intercept pthread_spin_lock() on MIPS32 and MIPS64.])
fi
#----------------------------------------------------------------------------