* sysdeps/unix/sysv/linux/kaio_misc.h (AIO_MISC_NOTIFY,
authorjakub <jakub>
Wed, 1 Aug 2007 17:15:34 +0000 (17:15 +0000)
committerjakub <jakub>
Wed, 1 Aug 2007 17:15:34 +0000 (17:15 +0000)
AIO_MISC_WAIT): Add LLL_PRIVATE as last argument to lll_futex_*wait.

rtkaio/ChangeLog
rtkaio/sysdeps/unix/sysv/linux/kaio_misc.h

index b5033f6..f6ae253 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/kaio_misc.h (AIO_MISC_NOTIFY,
+       AIO_MISC_WAIT): Add LLL_PRIVATE as last argument to lll_futex_*wait.
+
 2006-09-15  Jakub Jelinek  <jakub@redhat.com>
 
        [BZ #3138]
index 5e0ca19..cba1166 100644 (file)
@@ -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;                                                          \
                                                                              \