Root/toolchain/uClibc/patches-0.9.33/140-avr32_atomic_fix.patch

1--- a/libc/sysdeps/linux/avr32/bits/atomic.h
2+++ b/libc/sysdeps/linux/avr32/bits/atomic.h
3@@ -28,6 +28,7 @@ typedef uintmax_t uatomic_max_t;
4 
5 #define __arch_compare_and_exchange_val_32_acq(mem, newval, oldval) \
6     ({ \
7+ __uint32_t __result; \
8         __typeof__(*(mem)) __prev; \
9         __asm__ __volatile__( \
10             "/* __arch_compare_and_exchange_val_32_acq */\n" \
11

Archive Download this file



interactive