diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-10 08:30:07 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-10 08:30:07 +0000 |
commit | d1a700a42b22fe592cd6e4322010662ba62d58b1 (patch) | |
tree | 84322201f6b83fee2504d893298e20f40b1fbc37 /meta/packages/qemu/qemu-native-0.9.1+cvs20080307/64_ppc_asm_constraints.patch | |
parent | fb45df81fcce89a0481deb15bab4bbac5c83a30e (diff) | |
download | openembedded-core-d1a700a42b22fe592cd6e4322010662ba62d58b1.tar.gz openembedded-core-d1a700a42b22fe592cd6e4322010662ba62d58b1.tar.bz2 openembedded-core-d1a700a42b22fe592cd6e4322010662ba62d58b1.tar.xz openembedded-core-d1a700a42b22fe592cd6e4322010662ba62d58b1.zip |
qemu: Update cvs version to 20080308
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4223 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-native-0.9.1+cvs20080307/64_ppc_asm_constraints.patch')
-rw-r--r-- | meta/packages/qemu/qemu-native-0.9.1+cvs20080307/64_ppc_asm_constraints.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-native-0.9.1+cvs20080307/64_ppc_asm_constraints.patch b/meta/packages/qemu/qemu-native-0.9.1+cvs20080307/64_ppc_asm_constraints.patch new file mode 100644 index 000000000..e4858b79d --- /dev/null +++ b/meta/packages/qemu/qemu-native-0.9.1+cvs20080307/64_ppc_asm_constraints.patch @@ -0,0 +1,18 @@ +#DPATCHLEVEL=1 +--- +# cpu-all.h | 2 +- +# 1 file changed, 1 insertion(+), 1 deletion(-) +# +Index: qemu/cpu-all.h +=================================================================== +--- qemu.orig/cpu-all.h 2007-06-13 11:48:22.000000000 +0100 ++++ qemu/cpu-all.h 2007-06-13 11:51:56.000000000 +0100 +@@ -250,7 +250,7 @@ static inline void stw_le_p(void *ptr, i + static inline void stl_le_p(void *ptr, int v) + { + #ifdef __powerpc__ +- __asm__ __volatile__ ("stwbrx %1,0,%2" : "=m" (*(uint32_t *)ptr) : "r" (v), "r" (ptr)); ++ __asm__ __volatile__ ("stwbrx %0,0,%1" : : "r" (v), "r" (ptr) : "memory"); + #else + uint8_t *p = ptr; + p[0] = v; |