Author: qboosh                       Date: Wed May  7 17:31:15 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 2.8

---- Files affected:
SOURCES:
   glibc-sparc-lowlevellock.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/glibc-sparc-lowlevellock.patch
diff -u SOURCES/glibc-sparc-lowlevellock.patch:1.1 
SOURCES/glibc-sparc-lowlevellock.patch:1.2
--- SOURCES/glibc-sparc-lowlevellock.patch:1.1  Fri Nov  2 08:59:46 2007
+++ SOURCES/glibc-sparc-lowlevellock.patch      Wed May  7 19:31:09 2008
@@ -1,21 +1,21 @@
---- glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h.orig   
2007-11-01 22:29:07.000000000 +0100
-+++ glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h        
2007-11-01 22:29:39.000000000 +0100
-@@ -120,7 +120,7 @@
- /* Returns non-zero if error happened, zero if success.  */
- #ifdef __sparc32_atomic_do_lock
- /* Avoid FUTEX_WAKE_OP if supporting pre-v9 CPUs.  */
--# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2) 1
-+# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) 1
- #else
- # define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) \
-   ({                                                                        \
---- glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c.orig       
2007-11-01 23:11:22.000000000 +0100
-+++ glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c    
2007-11-01 23:11:43.000000000 +0100
-@@ -133,6 +133,7 @@
- __old_sem_wait (sem_t *sem)
- {
-   struct sparc_old_sem *isem = (struct sparc_old_sem *) sem;
-+  int *futex = (int *) sem; 
-   int err;
-   int val;
+2008-04-14  David S. Miller  <[EMAIL PROTECTED]>
+
+ * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c
+ (__old_sem_wait): Fix argument to lll_futex_wait().
+
+===================================================================
+RCS file: 
/cvs/glibc/libc/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c,v
+retrieving revision 1.2
+retrieving revision 1.3
+diff -u -r1.2 -r1.3
+--- libc/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c 2007/08/15 
20:47:42     1.2
++++ libc/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c 2008/04/15 
15:00:30     1.3
+@@ -155,7 +155,7 @@
+       /* Enable asynchronous cancellation.  Required by the standard.  */
+       int oldtype = __pthread_enable_asynccancel ();
  
+-      err = lll_futex_wait (futex, 0,
++      err = lll_futex_wait (&isem->value, 0,
+                           isem->private ^ FUTEX_PRIVATE_FLAG);
+ 
+       /* Disable asynchronous cancellation.  */
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/glibc-sparc-lowlevellock.patch?r1=1.1&r2=1.2&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to