Changes in kernel/generic/include/atomic.h [618d02a:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/atomic.h
r618d02a r9d58539 53 53 } 54 54 55 56 /*57 * If the architecture does not provide operations that are atomic58 * only with respect to the local cpu (eg exception handlers) and59 * not other cpus, implement these cpu local atomic operations with60 * full blown smp-safe atomics.61 */62 #ifndef local_atomic_exchange63 #define local_atomic_exchange(var_addr, new_val) \64 __atomic_exchange_n((var_addr), (new_val), __ATOMIC_RELAXED)65 #endif66 67 68 69 55 #endif 70 56
Note:
See TracChangeset
for help on using the changeset viewer.