u-boot/include/asm-generic/atomic-long.h
.. .. @@ -66,6 +66,7 @@ 66 66 atomic64_sub(i, v); 67 67 } 68 68 69 +#ifndef __UBOOT__69 70 static inline int atomic_long_sub_and_test(long i, atomic_long_t *l) 70 71 { 71 72 atomic64_t *v = (atomic64_t *)l; .. .. @@ -135,6 +136,7 @@ 135 136 (atomic64_cmpxchg((atomic64_t *)(l), (old), (new))) 136 137 #define atomic_long_xchg(v, new) \ 137 138 (atomic64_xchg((atomic64_t *)(v), (new))) 139 +#endif /* __UBOOT__ */138 140 139 141 #else /* BITS_PER_LONG == 64 */ 140 142