[PATCH 0/4] Final ACCESS_ONCE() cleanups for v4.15
From: Mark Rutland
Date: Mon Nov 27 2017 - 05:38:35 EST
Now that the ACCESS_ONCE() conversion settled in v4.15-rc1, these
patches remove the ACCESS_ONCE() definitions from the kernel, along with
the newly redundant checkpatch warning suggesting {READ,WRITE}_ONCE()
are preferred.
One new user of ACCESS_ONCE() snuck into v4.15-rc1; the first patch in
this series (previously sent on its own [1]) moves that over to
READ_ONCE(). Otherwise, there are no remaining uses of ACCESS_ONCE().
Ingo, assuming there are no complaints, would you be happy to take this
via the tip tree as a fixup for v4.15?
I've also pushed the series to my core/access-once-removal branch [2].
Thanks,
Mark.
[1] https://lkml.kernel.org/r/20171114103138.9931-1-mark.rutland@xxxxxxx
[2] git://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git core/access-once-removal
Mark Rutland (4):
perf mmap: Convert ACCESS_ONCE() to READ_ONCE()
tools: include: remove ACCESS_ONCE()
compiler.h: remove ACCESS_ONCE()
checkpatch: remove ACCESS_ONCE() warning
include/linux/compiler.h | 47 ++++++++++--------------------------------
scripts/checkpatch.pl | 22 --------------------
tools/include/linux/compiler.h | 21 ++++++++-----------
tools/perf/util/mmap.h | 2 +-
4 files changed, 21 insertions(+), 71 deletions(-)
--
2.11.0