mirror of https://github.com/torvalds/linux.git
The 'old' argument in atomic_try_cmpxchg() and related functions is a
pointer to a normal non-atomic integer number, which does not require
to be naturally aligned, unlike the atomic_t/atomic64_t types themselves.
In order to add an alignment check with CONFIG_DEBUG_ATOMIC into the
normal instrument_atomic_read_write() helper, change this check to use
the non-atomic instrument_read_write(), the same way that was done
earlier for try_cmpxchg() in commit
|
||
|---|---|---|
| .. | ||
| fallbacks | ||
| kerneldoc | ||
| atomic-tbl.sh | ||
| atomics.tbl | ||
| gen-atomic-fallback.sh | ||
| gen-atomic-instrumented.sh | ||
| gen-atomic-long.sh | ||
| gen-atomics.sh | ||
| gen-rust-atomic-helpers.sh | ||