tools/include: Remove ACCESS_ONCE()
authorMark Rutland <mark.rutland@arm.com>
Mon, 27 Nov 2017 10:38:22 +0000 (10:38 +0000)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Dec 2017 12:22:10 +0000 (13:22 +0100)
commit2a22f692bbe0a7933acbd50045479ffc0fdf11f7
tree10b1bbe473ab61bdf8d9ef3d88242e1c6713ed86
parentf971e511cb7d6f1b3730248cf2967d3ccdd8874c
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>
tools/include/linux/compiler.h