diff options
-rw-r--r-- | exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h index d6bbbd20b4..863ca3bdb3 100644 --- a/exec-all.h +++ b/exec-all.h @@ -476,7 +476,7 @@ static inline int testandset (int *p) "1: li $1, 1 \n" " ll %0, %1 \n" " sc $1, %1 \n" - " bnez $1, 1b \n" + " beqz $1, 1b \n" " .set pop " : "=r" (ret), "+R" (*p) : |