summary refs log tree commit diff
path: root/rtkaio/sysdeps/unix
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-01 17:15:34 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-01 17:15:34 +0000
commit4baf42dd00e8cafc79e2a3c94ef8effa6ef0a921 (patch)
tree783ba92a2c41cade50e9ec7133f04be153c3d198 /rtkaio/sysdeps/unix
parent8833066b122427710a9e14a888ce6cfa862332d3 (diff)
downloadglibc-4baf42dd00e8cafc79e2a3c94ef8effa6ef0a921.tar.gz
glibc-4baf42dd00e8cafc79e2a3c94ef8effa6ef0a921.tar.xz
glibc-4baf42dd00e8cafc79e2a3c94ef8effa6ef0a921.zip
* sysdeps/unix/sysv/linux/kaio_misc.h (AIO_MISC_NOTIFY,
	AIO_MISC_WAIT): Add LLL_PRIVATE as last argument to lll_futex_*wait.
Diffstat (limited to 'rtkaio/sysdeps/unix')
-rw-r--r--rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h b/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h
index 5e0ca19c31..cba11667d0 100644
--- a/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h
+++ b/rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h
@@ -55,7 +55,7 @@
 # define AIO_MISC_NOTIFY(waitlist) \
   do {									      \
     if (*waitlist->counterp > 0 && --*waitlist->counterp == 0)		      \
-      lll_futex_wake (waitlist->counterp, 1);				      \
+      lll_futex_wake (waitlist->counterp, 1, LLL_PRIVATE);		      \
   } while (0)
 
 # define AIO_MISC_WAIT(result, futex, timeout, cancel)			      \
@@ -74,7 +74,8 @@
 	int status;							      \
 	do								      \
 	  {								      \
-	    status = lll_futex_timed_wait (futexaddr, oldval, timeout);	      \
+	    status = lll_futex_timed_wait (futexaddr, oldval, timeout,	      \
+					   LLL_PRIVATE);		      \
 	    if (status != -EWOULDBLOCK)					      \
 	      break;							      \
 									      \