[!__PTHREAD_MUTEX_HAVE_PREV] (DEQUEUE_MUTEX): Set robust_list.__next
authordrepper <drepper>
Wed, 15 Feb 2006 17:12:26 +0000 (17:12 +0000)
committerdrepper <drepper>
Wed, 15 Feb 2006 17:12:26 +0000 (17:12 +0000)
rather than robust_list.

nptl/descr.h

index 6984138..d5491c1 100644 (file)
@@ -166,7 +166,7 @@ struct pthread
   do {                                                                       \
     __pthread_slist_t *runp = THREAD_GETMEM (THREAD_SELF, robust_list.__next);\
     if (runp == &mutex->__data.__list)                                       \
-      THREAD_SETMEM (THREAD_SELF, robust_list, runp->__next);                \
+      THREAD_SETMEM (THREAD_SELF, robust_list.__next, runp->__next);         \
     else                                                                     \
       {                                                                              \
        while (runp->__next != &mutex->__data.__list)                         \