about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-10-16 16:04:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-10-16 16:04:06 +0000
commit5ef193391bb0916ec03f0f06a9b1fe0b00591ad8 (patch)
treeadf21f288d431419c5535708f5171975bd69603a
parent15306e38888f770e548538a956e279b019654443 (diff)
downloadglibc-5ef193391bb0916ec03f0f06a9b1fe0b00591ad8.tar.gz
glibc-5ef193391bb0916ec03f0f06a9b1fe0b00591ad8.tar.xz
glibc-5ef193391bb0916ec03f0f06a9b1fe0b00591ad8.zip
Fix i386 build for lll_unlock_elision change.
Tested for i386.

	* sysdeps/unix/sysv/linux/i386/lowlevellock.h
	(lll_unlock_elision): Add adapt_count parameter.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/i386/lowlevellock.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad3f64f9e4..3e35f81abd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-16  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/i386/lowlevellock.h
+	(lll_unlock_elision): Add adapt_count parameter.
+
 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/nptl/configure.ac: Do not give errors based on the
diff --git a/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/sysdeps/unix/sysv/linux/i386/lowlevellock.h
index 58f5638e37..b8ccd31c0f 100644
--- a/sysdeps/unix/sysv/linux/i386/lowlevellock.h
+++ b/sysdeps/unix/sysv/linux/i386/lowlevellock.h
@@ -317,7 +317,7 @@ extern int __lll_trylock_elision(int *lock, short *adapt_count)
 
 #define lll_lock_elision(futex, adapt_count, private) \
   __lll_lock_elision (&(futex), &(adapt_count), private)
-#define lll_unlock_elision(futex, private) \
+#define lll_unlock_elision(futex, adapt_count, private) \
   __lll_unlock_elision (&(futex), private)
 #define lll_trylock_elision(futex, adapt_count) \
   __lll_trylock_elision(&(futex), &(adapt_count))