atomic.h (f24219b4e90cf70ec4a211b17fbabc725a0ddf3c) | atomic.h (7847777a45f9f8bfc8617dbf107bde1ecb59caee) |
---|---|
1/* 2 * include/asm-xtensa/atomic.h 3 * 4 * Atomic operations that C can't guarantee us. Useful for resource counting.. 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. --- 277 unchanged lines hidden (view full) --- 286} 287 288/* Atomic operations are already serializing */ 289#define smp_mb__before_atomic_dec() barrier() 290#define smp_mb__after_atomic_dec() barrier() 291#define smp_mb__before_atomic_inc() barrier() 292#define smp_mb__after_atomic_inc() barrier() 293 | 1/* 2 * include/asm-xtensa/atomic.h 3 * 4 * Atomic operations that C can't guarantee us. Useful for resource counting.. 5 * 6 * This file is subject to the terms and conditions of the GNU General Public 7 * License. See the file "COPYING" in the main directory of this archive 8 * for more details. --- 277 unchanged lines hidden (view full) --- 286} 287 288/* Atomic operations are already serializing */ 289#define smp_mb__before_atomic_dec() barrier() 290#define smp_mb__after_atomic_dec() barrier() 291#define smp_mb__before_atomic_inc() barrier() 292#define smp_mb__after_atomic_inc() barrier() 293 |
294#include <asm-generic/atomic-long.h> | |
295#endif /* __KERNEL__ */ 296 297#endif /* _XTENSA_ATOMIC_H */ 298 | 294#endif /* __KERNEL__ */ 295 296#endif /* _XTENSA_ATOMIC_H */ 297 |