tools/lib/lockdep: Add userspace version of READ_ONCE()
authorAlfredo Alvarez Fernandez <alfredoalvarezfernandez@gmail.com>
Fri, 19 Feb 2016 06:48:51 +0000 (07:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 29 Feb 2016 09:29:27 +0000 (10:29 +0100)
commit9d5a23ac8e0ede14a2b23740d231727ba5be483a
tree82ddd4196527b6d8d49ed2e63b762544efd08a2e
parentb2ed0998f66c4f68d3cccd2558c627b194e30415
tools/lib/lockdep: Add userspace version of READ_ONCE()

This was added to the kernel code in <1658d35ead5d> ("list: Use
READ_ONCE() when testing for empty lists").

There's nothing special we need to do about it in userspace.

Signed-off-by: Alfredo Alvarez Fernandez <alfredoalvarezfernandez@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1455864533-7536-2-git-send-email-alfredoalvarezernandez@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/lib/lockdep/uinclude/linux/compiler.h