]> git.pld-linux.org Git - packages/glibc.git/blame - glibc-sparc-lowlevellock.patch
- LC_SCRIPTS is pure KDE thing, not a valid category; nothing to do in glibc
[packages/glibc.git] / glibc-sparc-lowlevellock.patch
CommitLineData
ba87ef19 1--- glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h.orig 2007-11-01 22:29:07.000000000 +0100
2+++ glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h 2007-11-01 22:29:39.000000000 +0100
3@@ -120,7 +120,7 @@
4 /* Returns non-zero if error happened, zero if success. */
5 #ifdef __sparc32_atomic_do_lock
6 /* Avoid FUTEX_WAKE_OP if supporting pre-v9 CPUs. */
7-# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2) 1
8+# define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) 1
9 #else
10 # define lll_futex_wake_unlock(futexp, nr_wake, nr_wake2, futexp2, private) \
11 ({ \
12--- glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c.orig 2007-11-01 23:11:22.000000000 +0100
13+++ glibc-2.7/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c 2007-11-01 23:11:43.000000000 +0100
14@@ -133,6 +133,7 @@
15 __old_sem_wait (sem_t *sem)
16 {
17 struct sparc_old_sem *isem = (struct sparc_old_sem *) sem;
18+ int *futex = (int *) sem;
19 int err;
20 int val;
21
This page took 0.053684 seconds and 4 git commands to generate.