diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-11-04 18:17:06 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-11-09 17:15:40 +0000 |
commit | 094339443e6e247254a275ec5e5d8418ad1b2d25 (patch) | |
tree | 971d76c1c0f5bd1b42c94b3c4d185ec7e90ebb45 /include/linux/restart_block.h | |
parent | 0c2f0afe3582c58efeef93bc57bc07d502132618 (diff) | |
download | lwn-094339443e6e247254a275ec5e5d8418ad1b2d25.tar.gz lwn-094339443e6e247254a275ec5e5d8418ad1b2d25.zip |
arm64: percpu: kill off final ACCESS_ONCE() uses
For several reasons it is preferable to use {READ,WRITE}_ONCE() rather than
ACCESS_ONCE(). For example, these handle aggregate types, result in shorter
source code, and better document the intended access (which may be useful for
instrumentation features such as the upcoming KTSAN).
Over a number of patches, most uses of ACCESS_ONCE() in arch/arm64 have been
migrated to {READ,WRITE}_ONCE(). For consistency, and the above reasons, this
patch migrates the final remaining uses.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'include/linux/restart_block.h')
0 files changed, 0 insertions, 0 deletions