diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-11-27 11:38:21 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-12-12 13:22:09 +0100 |
commit | f971e511cb7d6f1b3730248cf2967d3ccdd8874c (patch) | |
tree | a887659c8ae5dc3da4842516f6e7eecf5bf0bc4c /tools/include | |
parent | locking/lockdep: Remove the cross-release locking checks (diff) | |
download | linux-f971e511cb7d6f1b3730248cf2967d3ccdd8874c.tar.xz linux-f971e511cb7d6f1b3730248cf2967d3ccdd8874c.zip |
tools/perf: Convert ACCESS_ONCE() to READ_ONCE()
Recently there was a treewide conversion of ACCESS_ONCE() to
{READ,WRITE}_ONCE(), but a new use was introduced concurrently by
commit:
1695849735752d2a ("perf mmap: Move perf_mmap and methods to separate mmap.[ch] files")
Let's convert this over to READ_ONCE() so that we can remove the
ACCESS_ONCE() definitions in subsequent patches.
Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Joe Perches <joe@perches.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: apw@canonical.com
Link: http://lkml.kernel.org/r/20171127103824.36526-2-mark.rutland@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions