diff options
Diffstat (limited to 'meta-openmoko/packages')
-rw-r--r-- | meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch b/meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch new file mode 100644 index 0000000000..51161dbe0f --- /dev/null +++ b/meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | http://cvs.fedoraproject.org/viewcvs/devel/libatomic_ops/libatomic_ops-1.2-ppclwzfix.patch | ||
2 | |||
3 | * add fix for bad variable handling on PPC | ||
4 | |||
5 | --- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:29:52.000000000 +0200 | ||
6 | +++ libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h 2007-05-29 19:30:48.000000000 +0200 | ||
7 | @@ -72,7 +72,7 @@ | ||
8 | /* registers. I always got "impossible constraint" when I */ | ||
9 | /* tried the "y" constraint. */ | ||
10 | __asm__ __volatile__ ( | ||
11 | - "lwz %0,%1\n" | ||
12 | + "lwz%U1%X1 %0,%1\n" | ||
13 | "cmpw cr7,%0,%0\n" | ||
14 | "bne- cr7,1f\n" | ||
15 | "1: isync\n" | ||