#DPATCHLEVEL=1 --- # cpu-all.h | 2 +- # 1 file changed, 1 insertion(+), 1 deletion(-) # Index: qemu-0.10.3/cpu-all.h =================================================================== --- qemu-0.10.3.orig/cpu-all.h 2009-05-01 21:02:44.000000000 +0400 +++ qemu-0.10.3/cpu-all.h 2009-05-19 17:59:28.357103179 +0400 @@ -288,7 +288,7 @@ static inline void stl_le_p(void *ptr, int v) { #ifdef _ARCH_PPC - __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;