2002-12-05 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Thu, 5 Dec 2002 20:56:25 +0000 (20:56 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 5 Dec 2002 20:56:25 +0000 (20:56 +0000)
* sysdeps/unix/sysv/linux/i386/createthread.c (create_thread): Add
missing & here too.

nptl/sysdeps/unix/sysv/linux/i386/createthread.c

index 3196a8c..fc252e1 100644 (file)
@@ -92,7 +92,7 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS)
          /* Enqueue the descriptor.  */
          do
            pd->nextevent = __nptl_last_event;
-         while (atomic_compare_and_exchange_acq (__nptl_last_event, pd,
+         while (atomic_compare_and_exchange_acq (&__nptl_last_event, pd,
                                                  pd->nextevent) != 0);
 
          /* Now call the function which signals the event.  */