diff options
author | Mark Rutland <mark.rutland@arm.com> | 2016-11-16 11:12:49 +0000 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-11-16 16:17:45 -0700 |
commit | 01e4644203b01fba5023784598f4d033e3bd3e28 (patch) | |
tree | dae5c8e97588062dea746543ba66cb7917b9b78e /drivers/scsi/scsi_debug.c | |
parent | 47f421221029e8515b71e7e2379eba8406b7f458 (diff) |
Documentation: circular-buffers: use READ_ONCE()
While the {READ,WRITE}_ONCE() macros should be used in preference to
ACCESS_ONCE(), the circular buffer documentation uses the latter
exclusively.
To point people in the right direction, and as a step towards the
eventual removal of ACCESS_ONCE(), update the documentation to use
READ_ONCE(), as ACCESS_ONCE() is only used in a reader context in the
circular buffer documentation.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions