]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a447da6f04bd130dce04075fed0ad328bcb4a6d
tree10b1bbe473ab61bdf8d9ef3d88242e1c6713ed86
parent2717b407b2a2b62380a3c1175e9d6102701ef6a6
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