summaryrefslogtreecommitdiffstats
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorMark Rutland2017-11-27 11:38:22 +0100
committerIngo Molnar2017-12-12 13:22:10 +0100
commit2a22f692bbe0a7933acbd50045479ffc0fdf11f7 (patch)
tree10b1bbe473ab61bdf8d9ef3d88242e1c6713ed86 /include/linux/compiler.h
parenttools/perf: Convert ACCESS_ONCE() to READ_ONCE() (diff)
downloadkernel-qcow2-linux-2a22f692bbe0a7933acbd50045479ffc0fdf11f7.tar.gz
kernel-qcow2-linux-2a22f692bbe0a7933acbd50045479ffc0fdf11f7.tar.xz
kernel-qcow2-linux-2a22f692bbe0a7933acbd50045479ffc0fdf11f7.zip
tools/include: Remove ACCESS_ONCE()
There are no longer any usersapce uses of ACCESS_ONCE(), so we can remove the definition from our userspace <linux/compiler.h>, which is only used by tools in the kernel directory (i.e. it isn't a uapi header). This patch removes the ACCESS_ONCE() definition, and updates comments which referred to it. At the same time, some inconsistent and redundant whitespace is removed from comments. Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Mark Rutland <mark.rutland@arm.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-3-mark.rutland@arm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions