summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/xtensa/bits/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/xtensa/bits/atomic.h')
-rw-r--r--libc/sysdeps/linux/xtensa/bits/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/xtensa/bits/atomic.h b/libc/sysdeps/linux/xtensa/bits/atomic.h
index a31841a4b..b2be547f0 100644
--- a/libc/sysdeps/linux/xtensa/bits/atomic.h
+++ b/libc/sysdeps/linux/xtensa/bits/atomic.h
@@ -154,7 +154,7 @@ typedef uintmax_t uatomic_max_t;
: "=&a" (__value), "=&a" (__tmp) \
: "a" (mem) \
: "memory" ); \
- __tmp; \
+ __value; \
})