diff --git a/exec-all.h b/exec-all.h index 65d26fdfb467513c91f07907b58c5b1a3fc1ff06..b6853a1af61579d3b596e170adc689c3fd13439c 100644 --- a/exec-all.h +++ b/exec-all.h @@ -391,11 +391,11 @@ static inline int testandset (int *p) { int ret; __asm__ __volatile__ ( - "0: lwarx %0,0,%1 ;" - " xor. %0,%3,%0;" - " bne 1f;" - " stwcx. %2,0,%1;" - " bne- 0b;" + "0: lwarx %0,0,%1\n" + " xor. %0,%3,%0\n" + " bne 1f\n" + " stwcx. %2,0,%1\n" + " bne- 0b\n" "1: " : "=&r" (ret) : "r" (p), "r" (1), "r" (0)