aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/x86/nptl/elide.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b119b5e4f..8bfdf803d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
+ argument type signed char.
+
* Makerules (check-abi): Dump diff of symlist if the test
fails.
diff --git a/sysdeps/x86/nptl/elide.h b/sysdeps/x86/nptl/elide.h
index 19f27e5438..5befa53f30 100644
--- a/sysdeps/x86/nptl/elide.h
+++ b/sysdeps/x86/nptl/elide.h
@@ -26,7 +26,7 @@
/* Adapt elision with ADAPT_COUNT and STATUS and decide retries. */
static inline bool
-elision_adapt(uint8_t *adapt_count, unsigned int status)
+elision_adapt(signed char *adapt_count, unsigned int status)
{
if (status & _XABORT_RETRY)
return false;